TabsRouter class
- Inheritance
-
- Object
- RoutingController
- TabsRouter
Constructors
- TabsRouter({required RouteCollection routeCollection, required PageBuilder pageBuilder, required LocalKey key, required RouteData routeData, int homeIndex = -1, RoutingController? parent})
Properties
- activeIndex → int
-
no setter
-
no setterinherited
- canPopSelfOrChildren → bool
-
no setteroverride
-
childControllers
→ List<
RoutingController> -
no setterinherited
- current → RouteData
-
no setteroverride
- currentChild → RouteData?
-
no setteroverride
- currentPath → String
-
no setterinherited
-
currentSegments
→ List<
RouteMatch> -
no setterinherited
- currentUrl → String
-
no setterinherited
- hasEntries → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- homeIndex → int
-
final
- isRoot → bool
-
no setterinherited
- isTopMost → bool
-
no setterinherited
- key → LocalKey
-
final
- managedByWidget → bool
-
no setteroverride
- matcher → RouteMatcher
-
final
-
no setterinherited
- pageBuilder → PageBuilder
-
final
- pageCount → int
-
no setterinherited
- parentAsStackRouter → StackRouter?
-
no setterinherited
- previousIndex → int?
-
no setter
- root → StackRouter
-
no setterinherited
- routeCollection → RouteCollection
-
final
- routeData → RouteData
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stack
→ List<
StackedPage> -
no setteroverride
-
stackData
→ List<
RouteData> -
no setterinherited
- stateHash → int
-
no setterinherited
- topMatch → RouteMatch
-
no setterinherited
- topPage → StackedPage?
-
no setterinherited
- topRoute → RouteData
-
no setterinherited
- urlState → UrlState
-
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
attachChildController(
RoutingController childController) → void -
inherited
-
buildPageRoute(
String? path, {bool includePrefixMatches = true}) → PageRouteInfo? -
inherited
-
buildPageRoutesStack(
String? path, {bool includePrefixMatches = true}) → List< PageRouteInfo> ? -
inherited
-
canPop(
{bool ignoreChildRoutes = false, bool ignoreParentRoutes = false, bool ignorePagelessRoutes = false}) → bool -
override
-
clear(
) → void -
Clears all tracked pages
override
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
innerRouterOf<
T extends RoutingController> (String routeName) → T? -
inherited
-
isPathActive(
String path) → bool -
inherited
-
isRouteActive(
String routeName) → bool -
inherited
-
isRouteDataActive(
RouteData data) → bool -
inherited
-
markUrlStateForReplace(
) → void -
inherited
-
inherited
-
inherited
-
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyAll(
{bool forceUrlRebuild = false}) → void -
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
parent<
T extends RoutingController> () → T? -
inherited
-
pop<
T extends Object?> ([T? result]) → Future< bool> -
override
-
popTop<
T extends Object?> ([T? result]) → Future< bool> -
inherited
-
removeChildController(
RoutingController childController) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
replaceAll(
List< PageRouteInfo> routes, PageRouteInfo previousActiveRoute) → void -
setActiveIndex(
int index, {bool notify = true}) → void -
setupRoutes(
List< PageRouteInfo> routes) → void -
stackRouterOfIndex(
int index) → StackRouter? -
topMostRouter(
{bool ignorePagelessRoutes = false}) → RoutingController -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRouteData(
RouteData data) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited