KeyboardLayoutSet class
A complete set of keyboard layouts for a specific input type.
Contains primary (letters), secondary (numbers/symbols), and tertiary (more symbols) layouts that the keyboard cycles through.
Constructors
- KeyboardLayoutSet({required KeyboardLayout primary, KeyboardLayout? secondary, KeyboardLayout? tertiary})
-
Creates a layout set with required primary and optional secondary/tertiary.
const
- KeyboardLayoutSet.single(KeyboardLayout primary)
-
Creates a simple layout set with only a primary layout (e.g., number pad).
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMultipleLayouts → bool
-
Whether this set has multiple layouts to cycle through.
no setter
- primary → KeyboardLayout
-
The primary layout (usually letters or main input).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → KeyboardLayout?
-
The secondary layout (usually numbers and common symbols).
final
- tertiary → KeyboardLayout?
-
The tertiary layout (usually additional symbols).
final
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