Inheritance
System.Object
Slider
public class Slider : StatefulWidget
Constructors
Declaration
public Slider(Key key = null, float? value = default(float? ), ValueChanged<float> onChanged = null, ValueChanged<float> onChangeStart = null, ValueChanged<float> onChangeEnd = null, float min = 0F, float max = 1F, int? divisions = default(int? ), string label = null, Color activeColor = null, Color inactiveColor = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
System.Nullable<System.Single> |
value |
|
ValueChanged<System.Single> |
onChanged |
|
ValueChanged<System.Single> |
onChangeStart |
|
ValueChanged<System.Single> |
onChangeEnd |
|
System.Single |
min |
|
System.Single |
max |
|
System.Nullable<System.Int32> |
divisions |
|
System.String |
label |
|
Color |
activeColor |
|
Color |
inactiveColor |
|
Fields
Declaration
public readonly Color activeColor
Field Value
Declaration
public readonly int? divisions
Field Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public readonly Color inactiveColor
Field Value
Declaration
public readonly string label
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly float max
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float min
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly ValueChanged<float> onChanged
Field Value
Declaration
public readonly ValueChanged<float> onChangeEnd
Field Value
Declaration
public readonly ValueChanged<float> onChangeStart
Field Value
Declaration
public readonly float value
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public override State createState()
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides