SliderKnobValue class
A knob that allows the user to select a value from a range.
See also:
- SliderKnobWidget, which is the widget that displays the knob.
Constructors
- SliderKnobValue({required double value, required double max, required double min, int? divisions, DoubleFormatter formatValue = _defaultFormat})
- A knob that allows the user to select a value from a range.
Properties
- divisions → int?
-
The number of divisions in the slider.
final
- formatValue → DoubleFormatter
-
An optional function that formats the value of the slider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → double
-
The maximum value of the slider.
final
- min → double
-
The minimum value of the slider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ double
-
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