InitiatorNavigator class abstract
- Implementers
Constructors
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
-
getLoadedPages(
) → List< Widget> -
initializeRoutes(
List< Widget> pages, {dynamic lastPageCallback(BuildContext context)?}) → void - Call this function to load a list of pages to be pushed on to the array.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popUntilInitiatorPage<
T> (BuildContext context, {T? popResult}) → void - Pops the pages until the current navigator. Use this in the lastPageCallback to pop until the initiator page.
-
pushFirst<
T> (BuildContext context) → Future< T?> - Push the first page in the array
-
pushFirstThenFor<
T> (BuildContext context, int numberOfPagesToPush) → List< Future< T?> > -
This is similar to
pushFor
, but is called from the initiator. Internally, we just call pushFirst first, then callpushFor
. All methods of awaiting the results mentioned above apply here as well. - Override the current navigation logic.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited