SelectKnobValue<T> class

A knob that allows the user to select an option from a list of options.

See also:

  • Option, which represents a single option in the list.
  • SelectKnobWidget, which is the widget that displays the knob.
Inheritance

Constructors

SelectKnobValue({required T value, required List<Option<T>> options})
A knob that allows the user to select an option from a list of options.

Properties

hashCode int
The hash code for this object.
no setterinherited
options List<Option<T>>
The list of options that the user can select from.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
The current value of the knob.
getter/setter pairinherited

Methods

build({required String label, required String? description, required bool enabled, required bool nullable}) Widget
The build method for the knob.
override
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