ContextExt extension
- on
Properties
- colorScheme → ColorScheme
-
Available on BuildContext, provided by the ContextExt extension
no setter - textTheme → TextTheme
-
Available on BuildContext, provided by the ContextExt extension
no setter
Methods
-
push<
T> (Widget widget) → Future< T?> -
Available on BuildContext, provided by the ContextExt extension
Push to a route with the given Widget and return generic Type T -
pushAndRemoveUntil<
T> (Widget widget) → Future< T?> -
Available on BuildContext, provided by the ContextExt extension
Push to a given route and clear the existing navigation stack -
showErrorSnackBar(
{required String message}) → void -
Available on BuildContext, provided by the ContextExt extension
-
showSnackBar(
{required String message, Color color = Colors.grey, Color backgroundColor = Colors.white}) → void -
Available on BuildContext, provided by the ContextExt extension