BuildContextHelperExtension extension
Methods
-
clearSnackBars()
→ void
-
-
goBack()
→ void
-
Do that:
-
hideCurrentSnackBar([SnackBarClosedReason reason = SnackBarClosedReason.remove])
→ void
-
-
removeCurrentSnackBar([SnackBarClosedReason reason = SnackBarClosedReason.remove])
→ void
-
-
showSnackBar(SnackBar snackBar, {void onClosed(SnackBarClosedReason)?, VoidCallback? onVisible})
→ ScaffoldFeatureController<SnackBar, SnackBarClosedReason>
-
-
to(Widget page, {bool transition = true})
→ Future<void>
-
Do that:
-
toAndRemoveUntil(Widget page, bool predicate(Route), {bool transition = true})
→ Future<void>
-
Do that:
-
toNamed(String routeName, {Object? arguments})
→ Future<void>
-
Do that:
-
toNamedAndRemoveUntil(String newRouteName, bool predicate(Route), {Object? arguments})
→ Future<void>
-
Do that:
-
toReplacement(Widget page, {bool transition = true})
→ Future<void>
-
Do that:
-
toTransparentPage(Widget page, {Duration duration = Duration.zero})
→ Future<void>
-
Usually used with a
SlidingPanel