VirtualKey class

Constructors

VirtualKey({String? label, KeyType type = KeyType.character, Icon? icon, Alignment iconAlignment = Alignment.topCenter, ContainerDecoration? decoration, TextStyle? textStyle})

Properties

decoration → ContainerDecoration?
decoration is Key decoration This uses the ContainerDecoration type from the ripple_container package.
final
hashCode int
The hash code for this object.
no setterinherited
icon Icon?
icon Icon widget to be displayed on the key instead of text or alongside the text.
final
iconAlignment Alignment
final
label String?
label Text displayed on the key (Required when KeyType is character).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
textStyle key text style
final
type KeyType
type is Key's type , Enum KeyType
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