RouteInstance class

RouteInstance contains all the content of the exact page.

RouteInstance is a accessible instance through RoutePath to show out the page content.

Constructors

RouteInstance({required String routePath, required PageBuilder pageBuilder, String? title, String parameters = '', dynamic extraInformation, String childPageTitleBuilder(String parentTitle, String path)?})

Properties

childPageTitleBuilder String Function(String parameters, String parentTitle)
A callback function in RouterInstance class for customizing the title of child page.
final
extraInformation → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
pageBuilder PageBuilder
final
parameters String
final
path String
final
routePath String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
A variable as the original route page's title.
final
widget Widget
final

Methods

createChildRouteInstance({String parameters = '', String? title, dynamic extraInformation}) RouteInstance
getPage() MaterialPage
getPageRoute() Route
getRouteInformation() RouteInformation
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove() bool
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited