IPersistentKeyboardHeightStorageProvider class abstract

An interface for preserving the height of the keyboard. The default implementation is SharedPreferencesPersistentKeyboardSizeStorageProvider.

In order to implement your own storage for create a class that implements this class and override setHeight and getHeight.

Example:

class CustomPersistentKeyboardHeightStorageProvider
    implements IPersistentKeyboardHeightStorageProvider {
  @override
  Future<double> getHeight() {
    // read the height from storage
  }

  @override
  Future<void> setHeight(double height) {
    // save the height to storage
  }
}

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

getHeight() Future<double>
Get the height from storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeight(double height) Future<void>
Save the height to storage.
toString() String
A string representation of this object.
inherited

Operators

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