ScopedPageBuilder class Null safety

A DBPageBuilder that provide api to be triggered when the initialDestination is entered and existed.

Inheritance

Constructors

ScopedPageBuilder()
Create a new instance of ScopedPageBuilder in const expression.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
initialDestination Destination
The initial destination or entry point of this DBPageBuilder.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scopeName String
The name of the scope of this ScopedPageBuilder.
read-only

Methods

buildPage(Destination destination) Future<DBPage>
Build DBPage from the destination.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onInitialDestinationEntered() → void
Called when the navigator navigated to the initialDestination.
onInitialDestinationExited() → void
Called when the navigator navigated out of the initialDestination.
supportRoute(Destination destination) bool
Check if the DBPageBuilder support the Destination requested.
inherited
toString() String
A string representation of this object.
inherited

Operators

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