VWidgetGuard constructor
const
VWidgetGuard({
- Key? key,
- void afterEnter(
- BuildContext context,
- String? from,
- String to
- void afterUpdate(
- BuildContext context,
- String? from,
- String to
- Future<
void> beforeUpdate(- VRedirector vRedirector
- Future<
void> beforeLeave(- VRedirector? vRedirector,
- void saveHistoryState()
- Future<
void> onPop(- VRedirector vRedirector
- Future<
void> onSystemPop(- VRedirector vRedirector
- required Widget child,
Implementation
const VWidgetGuard({
Key? key,
this.afterEnter = VoidVGuard.voidAfterEnter,
this.afterUpdate = VoidVGuard.voidAfterUpdate,
this.beforeUpdate = VoidVGuard.voidBeforeUpdate,
this.beforeLeave = VoidVGuard.voidBeforeLeave,
this.onPop = VoidVPopHandler.voidOnPop,
this.onSystemPop = VoidVPopHandler.voidOnSystemPop,
required this.child,
}) : super(key: key);