NavigationBuilder class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
build({required BuildContext context, required List<Object> routeDataList, required List<NavigationData> routes, OnUnknownRoute? onUnknownRoute, CustomPageBuilder? pageBuilder, MigrationPageBuilder? migrationPageBuilder, String? group})
→ List<Page>
-
-
buildPage({required String? name, required Widget child, ValueKey<String>? key, Object? arguments, PageType pageType = PageType.material, bool? fullScreenDialog, Color? barrierColor})
→ Page
-
-
buildWidgets({required BuildContext context, required List<Object> routeDataList, required List<NavigationData> routes, String? group})
→ List<Widget>
-
-
clearCache()
→ void
-
-
clearCachedRoute(DefaultRoute route)
→ void
-
Clears cached route entries related to a specific route
-
generateCacheKey(NavigationData navigationData, DefaultRoute route)
→ String
-
Generates a cache key for the route
This method is public so it can be used when creating routes