FragNavigate.restart constructor
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
Implementation
factory FragNavigate.restart(
{required dynamic firstKey,
required List<Posit> screens,
BuildContext? drawerContext,
List<BottomPosit>? bottomList,
List<ActionPosit>? actionsList,
List<FloatingPosit>? floatingPosit,
Function(dynamic oldKey, dynamic newKey)? onBack,
Function(dynamic oldKey, dynamic newKey)? onPut}) {
_instance = FragNavigate._internal(
onPut: onPut,
onBack: onBack,
screens: screens,
firstKey: firstKey,
bottomList: bottomList,
actionsList: actionsList,
floatingList: floatingPosit,
drawerContext: drawerContext);
return _instance!;
}