KeyboardVisibilityNotification class Null safety

The notification class that handles all information

Constructors

KeyboardVisibilityNotification()
Constructs a new KeyboardVisibilityNotification

Properties

hashCode int
The hash code for this object.
read-only, inherited
isKeyboardVisible bool
The current state of the keyboard visibility. Can be used without subscribing
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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