BuildContextExt extension
- on
Properties
- focus → FocusScopeNode
-
Available on BuildContext, provided by the BuildContextExt extension
Returns the FocusScopeNode of the FocusScope that most tightly encloses the given context.no setter -
Available on BuildContext, provided by the BuildContextExt extension
The state from the closest instance of this class that encloses the given context.no setter - query → MediaQueryData
-
Available on BuildContext, provided by the BuildContextExt extension
Contains information about the current media.no setter - textTheme → TextTheme
-
Available on BuildContext, provided by the BuildContextExt extension
Text with a color that contrasts with the card and canvas colors.no setter - theme → ThemeData
-
Available on BuildContext, provided by the BuildContextExt extension
The data from the closest Theme instance that encloses the given context.no setter
Methods
-
hideKeyboard(
) → void -
Available on BuildContext, provided by the BuildContextExt extension
Hide the soft keyboard off the screen. -
pop<
T> ([T? result]) → T? -
Available on BuildContext, provided by the BuildContextExt extension
Pop the top-most route off the navigator. -
showAlertDialog(
{String? title, required String message, dynamic closeButtonTitle = "OK"}) → Future -
Available on BuildContext, provided by the BuildContextExt extension
Show a simple dialog with title, message and a close button.