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