feat: add mutation and mutation builder with example
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "package:example/pages/home.dart";
|
||||
import "package:example/pages/infinite_query.dart";
|
||||
import "package:example/pages/mutation/mutation.dart";
|
||||
import "package:example/pages/query.dart";
|
||||
import "package:go_router/go_router.dart";
|
||||
|
||||
@@ -18,5 +19,9 @@ final router = GoRouter(
|
||||
path: '/infinite-query',
|
||||
builder: (context, state) => const InfiniteQueryPageWidget(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/mutation',
|
||||
builder: (context, state) => const MutationPage(),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user