BuildContextExtensions extension
Built with Kite 🪁 Flutter foundations, architecture, and developer tooling. Learn more: https://kite.orkitt.dev
Convenient access to commonly used inherited Flutter properties.
- on
Properties
- brightness → Brightness
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - canPop → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - focusScope → FocusScopeNode
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - height → double
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isDarkMode → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isKeyboardVisible → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isLandscape → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isLightMode → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isLtr → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isMounted → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
Alias for BuildContext.mounted.no setter - isPortrait → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - isRtl → bool
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - keyboardHeight → double
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - materialColors → ColorScheme
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - materialTextTheme → TextTheme
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - materialTheme → ThemeData
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - mediaQuery → MediaQueryData
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - modalRoute → ModalRoute?
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter -
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - orientation → Orientation
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - scaffoldMessenger → ScaffoldMessengerState
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - screenHeight → double
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - screenPadding → EdgeInsets
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - screenSize → Size
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - screenWidth → double
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - textDirection → TextDirection
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - viewInsets → EdgeInsets
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - viewPadding → EdgeInsets
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - width → double
-
Available on BuildContext, provided by the BuildContextExtensions extension
Short aliases.no setter
Methods
-
pop<
T extends Object?> ([T? result]) → void -
Available on BuildContext, provided by the BuildContextExtensions extension
-
showSnackBar(
String message, {Duration duration = const Duration(seconds: 3), SnackBarAction? action, SnackBarBehavior? behavior}) → void -
Available on BuildContext, provided by the BuildContextExtensions extension
-
unfocus(
) → void -
Available on BuildContext, provided by the BuildContextExtensions extension