Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
getCurrentPageIndex (Widget currentPage )
→ int
Returns the index of the current page. The index corresponds to its position
in the pages array passed to the initializeRoutes
method of the initiator.
getCurrentWidgetHash ()
→ int ?
Returns the page widget that belongs to the current route
getProgressFromCurrentPage (Widget currentPage )
→ int
Returns how many pages are left until the last page.
0 means it's the last page.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popCurrent <T > (BuildContext context , {required Widget currentPage , T? popResult })
→ void
Pop the current page and all of its sub-routes.
popFor <T > (BuildContext context , int numberOfPagesToPop , {required Widget currentPage , T? popResult })
→ void
You can reset the flow, eg. go back to the first Participator page, or the Initiator page
with popFor .
pushFor <T > (BuildContext context , int numberOfPagesToPush , {required Widget currentPage })
→ List <Future <T? > >
You can push multiple pages at once with pushFor .
pushNext <T > (BuildContext context , {required Widget currentPage })
→ Future <T? >
Push the next page in the array
toString ()
→ String
A string representation of this object.
inherited