KeyboardVisibilitySubscriber class Null safety

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.
read-only, inherited
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.
read-only, inherited

Methods

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

Operators

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