You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'builder, pageBuilder, or redirect must be provided'),
138
133
super._(
139
134
routes: routes,
140
135
) {
@@ -288,7 +283,7 @@ class GoRoute extends RouteBase {
288
283
/// routes, also known as route guards. One canonical example is user
289
284
/// authentication. See [Redirection](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/redirection.dart)
290
285
/// for a complete runnable example.
291
-
finalGoRouterRedirect redirect;
286
+
finalGoRouterRedirect? redirect;
292
287
293
288
/// An optional key specifying which Navigator to display this route's screen
294
289
/// onto.
@@ -305,19 +300,9 @@ class GoRoute extends RouteBase {
0 commit comments