KeyboardVisibilitySubscriber class

A base class to handle the subscribing events

Constructors

KeyboardVisibilitySubscriber({dynamic onChange(bool visible)?, Function? onShow, Function? onHide})
Constructs a new KeyboardVisibilitySubscriber

Properties

hashCode int
The hash code for this object.
no setterinherited
onChange → (dynamic Function(bool visible)?)
Called when a keyboard visibility event occurs Is only called when the state changes The visible parameter reflects the new visibility
final
onHide Function?
Called when the keyboard closes
final
onShow Function?
Called when the keyboard appears
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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