BuildContextHelperExtension extension

on

Properties

arguments Object?

Available on BuildContext, provided by the BuildContextHelperExtension extension

no setter
color BuildColor

Available on BuildContext, provided by the BuildContextHelperExtension extension

It is a simplification of the Theme.of(context) statement.
no setter
height double?

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
no setter
iconTheme IconThemeData

Available on BuildContext, provided by the BuildContextHelperExtension extension

no setter
media BuildMedia

Available on BuildContext, provided by the BuildContextHelperExtension extension

It is a simplification of the MediaQuery.of(context) statement.
no setter
messenger ScaffoldMessengerState

Available on BuildContext, provided by the BuildContextHelperExtension extension

no setter

Available on BuildContext, provided by the BuildContextHelperExtension extension

no setter
textTheme TextTheme

Available on BuildContext, provided by the BuildContextHelperExtension extension

DO THAT:
no setter
theme ThemeData

Available on BuildContext, provided by the BuildContextHelperExtension extension

DO THAT:
no setter
width double?

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
no setter

Methods

clearSnackBars() → void

Available on BuildContext, provided by the BuildContextHelperExtension extension

goBack() → void

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
hideCurrentSnackBar([SnackBarClosedReason reason = SnackBarClosedReason.remove]) → void

Available on BuildContext, provided by the BuildContextHelperExtension extension

removeCurrentSnackBar([SnackBarClosedReason reason = SnackBarClosedReason.remove]) → void

Available on BuildContext, provided by the BuildContextHelperExtension extension

showSnackBar(SnackBar snackBar, {void onClosed(SnackBarClosedReason)?, VoidCallback? onVisible}) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>

Available on BuildContext, provided by the BuildContextHelperExtension extension

to(Widget page, {bool transition = true}) Future<void>

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
toAndRemoveUntil(Widget page, bool predicate(Route), {bool transition = true}) Future<void>

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
toNamed(String routeName, {Object? arguments}) Future<void>

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
toNamedAndRemoveUntil(String newRouteName, bool predicate(Route), {Object? arguments}) Future<void>

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
toReplacement(Widget page, {bool transition = true}) Future<void>

Available on BuildContext, provided by the BuildContextHelperExtension extension

Do that:
toTransparentPage(Widget page, {Duration duration = Duration.zero}) Future<void>

Available on BuildContext, provided by the BuildContextHelperExtension extension

Usually used with a SlidingPanel