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