KeyRole enum

What a key is, for styling (theme colours and label weight) and sounds.

Lives in the theme layer so themes never depend on the calculator feature; calc_keys.dart re-exports it.

Inheritance
Available extensions

Values

digit → const KeyRole
decimal → const KeyRole
operator → const KeyRole
equals → const KeyRole
function → const KeyRole
constant → const KeyRole
paren → const KeyRole
clear → const KeyRole
backspace → const KeyRole
sign → const KeyRole
percent → const KeyRole
memory → const KeyRole
mode → const KeyRole

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<KeyRole>
A constant List of the values in this enum, in order of their declaration.