SoftKeyboard class

A utility class for controlling the soft keyboard.

This class provides static methods to programmatically show or hide the soft keyboard without needing a specific BuildContext.

@ai Use this class when you need fine-grained control over the keyboard's visibility, especially in scenarios where a BuildContext is not readily available.

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

close() Future<void>
Hides the soft keyboard.
open() Future<void>
Shows the soft keyboard.