ContextEx extension

on

Properties

colors ColorScheme

Available on BuildContext, provided by the ContextEx extension

no setter
isLandscape bool

Available on BuildContext, provided by the ContextEx extension

no setter
isMobile bool

Available on BuildContext, provided by the ContextEx extension

no setter
isPortrait bool

Available on BuildContext, provided by the ContextEx extension

no setter
isTablet bool

Available on BuildContext, provided by the ContextEx extension

no setter
screenHeight double

Available on BuildContext, provided by the ContextEx extension

no setter
screenWidth double

Available on BuildContext, provided by the ContextEx extension

no setter
statusBarHeight double

Available on BuildContext, provided by the ContextEx extension

no setter
textTheme TextTheme

Available on BuildContext, provided by the ContextEx extension

no setter
theme ThemeData

Available on BuildContext, provided by the ContextEx extension

no setter

Methods

hideKeyboard() → void

Available on BuildContext, provided by the ContextEx extension

pushSlideBottomUp(Widget anotherPage) Future

Available on BuildContext, provided by the ContextEx extension

showErrorSnackBar(String text, {SnackBarAction? action}) → void

Available on BuildContext, provided by the ContextEx extension

showInfoSnackBar(String text, {SnackBarAction? action}) → void

Available on BuildContext, provided by the ContextEx extension

showSuccessSnackBar(String text, {SnackBarAction? action}) → void

Available on BuildContext, provided by the ContextEx extension

showWarningSnackBar(String text, {SnackBarAction? action}) → void

Available on BuildContext, provided by the ContextEx extension