ContextExt extension

on

Properties

isDarkMode → bool

Available on BuildContext, provided by the ContextExt extension

Get the device dark mode
no setter
isKeyboardVisible → bool

Available on BuildContext, provided by the ContextExt extension

Get if keyboard is visible
no setter
isLandscape → bool

Available on BuildContext, provided by the ContextExt extension

Check if the device orientation is landscape
no setter
isPortrait → bool

Available on BuildContext, provided by the ContextExt extension

Check if the device orientation is portrait
no setter
keyboardHeight → double

Available on BuildContext, provided by the ContextExt extension

Get the height of the keyboard
no setter
orientation → Orientation

Available on BuildContext, provided by the ContextExt extension

Get the device orientation
no setter

Methods

hideKeyboard() → void

Available on BuildContext, provided by the ContextExt extension

Hide keyboard