MyKeyboard class

A utility class to show and dismiss a custom keyboard modal.

The keyboard is displayed as a bottom sheet using showModalBottomSheet. Only one keyboard modal is expected to be shown at a time.

Constructors

MyKeyboard()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

showKeyboard({required BuildContext context, required dynamic onChanged(String)?, dynamic onShown()?, dynamic onDismissed()?}) → void
Shows the custom keyboard modal.