feat: resolve and resolveWith helper support

This commit is contained in:
Kingkor Roy Tirtho
2023-06-23 22:40:20 +06:00
parent 8c7b19c0e5
commit a40dca73b5
12 changed files with 347 additions and 42 deletions
+8 -1
View File
@@ -28,7 +28,14 @@ class MainApp extends StatelessWidget {
),
title: 'FL Query Example',
builder: (context, child) {
return FlQueryDevtools(child: child);
return FlQueryDevtools(
child: QueryStateResolverProvider(
child: child!,
offline: () => const Center(
child: Text("Why u offline? How can u live?"),
),
),
);
},
routerConfig: router,
);