KeyboardVisibilityNotification class

The notification class that handles all information

Properties

hashCode int
The hash code for this object.
no setterinherited
isKeyboardVisible bool
The current state of the keyboard visibility. Can be used without subscribing
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addNewListener({dynamic onChange(bool)?, Function? onShow, Function? onHide}) int
Subscribe to a keyboard visibility event onChange is called when a change of the visibility occurs onShow is called when the keyboard appears onHide is called when the keyboard disappears Returns a subscribing id that can be used to unsubscribe
addNewSubscriber(KeyboardVisibilitySubscriber subscriber) int
Subscribe to a keyboard visibility event using a subscribing class subscriber Returns a subscribing id that can be used to unsubscribe
dispose() → dynamic
Internal function to clear class on dispose
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onKeyboardEvent(dynamic arg) → void
Internal function to handle native code channel communication
removeListener(int subscribingId) → void
Unsubscribe from the keyboard visibility events subscribingId has to contain an id previously returned on add
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited