ShowValueIndicator enum

Describes the conditions under which the value indicator on a Slider will be shown. Used with SliderThemeData.showValueIndicator.

See also:

  • Slider, a Material Design slider widget.
  • SliderThemeData, which describes the actual configuration of a slider theme.
Inheritance

Constructors

ShowValueIndicator()
const

Values

onlyForDiscrete → const ShowValueIndicator

The value indicator will only be shown for discrete sliders (sliders where Slider.divisions is non-null).

onlyForContinuous → const ShowValueIndicator

The value indicator will only be shown for continuous sliders (sliders where Slider.divisions is null).

always → const ShowValueIndicator

The value indicator will be shown for all types of sliders.

never → const ShowValueIndicator

The value indicator will never be shown.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<ShowValueIndicator>
A constant List of the values in this enum, in order of their declaration.