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
- focusScope β FocusScopeNode
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - height β double
-
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 - 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 - mColors β ColorScheme
-
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 - mTextStyle β TextTheme
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - mTheme β ThemeData
-
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 - screenPadding β EdgeInsets
-
Available on BuildContext, provided by the BuildContextExtensions extension
no setter - screenSize β Size
-
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
no setter
Methods
-
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