KnobKind enum

What kind of control a knob is, which is what a panel switches on.

Kinds a producer cannot describe are left out of a report rather than guessed at: a knob rendered as the wrong control is worse than a knob the panel admits it cannot show.

Inheritance
Available extensions

Values

string → const KnobKind
boolean → const KnobKind
integer → const KnobKind
number → const KnobKind
picker → const KnobKind

A choice between named options. Only the labels cross the wire — the values behind them are whatever the demo said they are, and only the demo can turn a label back into one.

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

Static Methods

byName(String name) → KnobKind?

Constants

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