KeyboardDetectionController class
Properties
-
ensureSizeLoaded
→ Future<void>
-
Ensure that the keyboard size is loaded.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isSizeLoaded
→ bool
-
To ensure that the keyboard size is available.
no setter
-
onChanged
→ (void Function(KeyboardState state)?)
-
This value will be notified when the keyboard is starting visible (
true
) or not (false
).
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ double
-
Get the keyboard size. The keyboard must be visible at least 1 time to make this works.
If not, this value will return 0. You can check to ensure the keyboard size is available
via
isKeyboardSizeLoaded
.
no setter
-
state
→ KeyboardState
-
State of the Keyboard.
no setter
-
stream
→ Stream<KeyboardState>
-
Get the current keyboard state stream.
no setter