ShowValueIndicator enum Null safety

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).

ShowValueIndicator()
onlyForContinuous → const ShowValueIndicator

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

ShowValueIndicator()
always → const ShowValueIndicator

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

ShowValueIndicator()
never → const ShowValueIndicator

The value indicator will never be shown.

ShowValueIndicator()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[onlyForDiscrete, onlyForContinuous, always, never]