FragNavigate class

Constructors

FragNavigate({required dynamic firstKey, required List<Posit> screens, BuildContext? drawerContext, List<BottomPosit>? bottomList, List<ActionPosit>? actionsList, List<FloatingPosit>? floatingPosit, dynamic onBack(dynamic oldKey, dynamic newKey)?, dynamic onPut(dynamic oldKey, dynamic newKey)?})
factory
FragNavigate.restart({required dynamic firstKey, required List<Posit> screens, BuildContext? drawerContext, List<BottomPosit>? bottomList, List<ActionPosit>? actionsList, List<FloatingPosit>? floatingPosit, dynamic onBack(dynamic oldKey, dynamic newKey)?, dynamic onPut(dynamic oldKey, dynamic newKey)?})
factory

Properties

actionsList List<ActionPosit>?
Action List
final
bottomList List<BottomPosit>?
Bottom List
final
currentKey → dynamic
no setter
drawerContext BuildContext?
Drawer context
getter/setter pair
drawerKey GlobalKey<ScaffoldState>
no setter
floatingList List<FloatingPosit>?
Floating List
final
hashCode int
The hash code for this object.
no setterinherited
onBack → dynamic Function(dynamic oldKey, dynamic newKey)?
OnBack function
final
onPut → dynamic Function(dynamic oldKey, dynamic newKey)?
OnPut function
final
outStreamFragment Stream<FullPosit>
Fragment stream
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenList Map<dynamic, Posit>
Screen Posit List
final
setDrawerContext BuildContext
Drawer controller
no getter
setInterface ← dynamic
no getter
stack List<FullPosit>
Stack List
final

Methods

action(String tag, {dynamic params}) → dynamic
Call action in interface
dispose() → void
jumpBack() Future<bool>
Jump back to last key
jumpBackTo(dynamic key) → dynamic
Jump back to key passed and clean all after
jumpBackToFirst() Future<bool>
Jump back to first key and clean all
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putAndClean<K>({dynamic key, bool force = true, K? params, bool closeDrawer = true}) Future<bool>
Put key and clean all
putAndReplace<K>({dynamic key, bool force = true, K? params, bool closeDrawer = true}) Future<bool>
Put key and replace current
putPosit<K>({required dynamic key, bool force = false, bool closeDrawer = true, K? params}) Future<bool>
Put new key
toString() String
A string representation of this object.
inherited

Operators

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