KeyboardObserver class
Usage Example:
final _keyboardObserver = KeyboardObserver(onShow: () {}, onHide: () {});
@override
void initState() {
super.initState();
this._keyboardObserver.startObserving();
}
@override
void dispose() {
this._keyboardObserver.stopObserving();
super.dispose();
}
Constructors
- KeyboardObserver({FlutterView? view, void onShow()?, void onHide()?})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startObserving(
) → void - NOTE:
-
stopObserving(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited