Inheritance
System.Object
SliderThemeData
public class SliderThemeData : Diagnosticable
Constructors
SliderThemeData(Nullable<Single>, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, SliderTrackShape, SliderTickMarkShape, SliderComponentShape, SliderComponentShape, SliderComponentShape, Nullable<ShowValueIndicator>, TextStyle)
Declaration
public SliderThemeData(float? trackHeight = default(float? ), Color activeTrackColor = null, Color inactiveTrackColor = null, Color disabledActiveTrackColor = null, Color disabledInactiveTrackColor = null, Color activeTickMarkColor = null, Color inactiveTickMarkColor = null, Color disabledActiveTickMarkColor = null, Color disabledInactiveTickMarkColor = null, Color thumbColor = null, Color disabledThumbColor = null, Color overlayColor = null, Color valueIndicatorColor = null, SliderTrackShape trackShape = null, SliderTickMarkShape tickMarkShape = null, SliderComponentShape thumbShape = null, SliderComponentShape overlayShape = null, SliderComponentShape valueIndicatorShape = null, ShowValueIndicator? showValueIndicator = default(ShowValueIndicator? ), TextStyle valueIndicatorTextStyle = null)
Parameters
Fields
Declaration
public readonly Color activeTickMarkColor
Field Value
Declaration
public readonly Color activeTrackColor
Field Value
Declaration
public readonly Color disabledActiveTickMarkColor
Field Value
Declaration
public readonly Color disabledActiveTrackColor
Field Value
Declaration
public readonly Color disabledInactiveTickMarkColor
Field Value
Declaration
public readonly Color disabledInactiveTrackColor
Field Value
Declaration
public readonly Color disabledThumbColor
Field Value
Declaration
public readonly Color inactiveTickMarkColor
Field Value
Declaration
public readonly Color inactiveTrackColor
Field Value
Declaration
public readonly Color overlayColor
Field Value
Declaration
public readonly SliderComponentShape overlayShape
Field Value
Declaration
public readonly ShowValueIndicator showValueIndicator
Field Value
Declaration
public readonly Color thumbColor
Field Value
Declaration
public readonly SliderComponentShape thumbShape
Field Value
Declaration
public readonly SliderTickMarkShape tickMarkShape
Field Value
Declaration
public readonly float trackHeight
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly SliderTrackShape trackShape
Field Value
Declaration
public readonly Color valueIndicatorColor
Field Value
Declaration
public readonly SliderComponentShape valueIndicatorShape
Field Value
valueIndicatorTextStyle
Declaration
public readonly TextStyle valueIndicatorTextStyle
Field Value
Methods
copyWith(Nullable<Single>, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, SliderTrackShape, SliderTickMarkShape, SliderComponentShape, SliderComponentShape, SliderComponentShape, Nullable<ShowValueIndicator>, TextStyle)
Declaration
public SliderThemeData copyWith(float? trackHeight = default(float? ), Color activeTrackColor = null, Color inactiveTrackColor = null, Color disabledActiveTrackColor = null, Color disabledInactiveTrackColor = null, Color activeTickMarkColor = null, Color inactiveTickMarkColor = null, Color disabledActiveTickMarkColor = null, Color disabledInactiveTickMarkColor = null, Color thumbColor = null, Color disabledThumbColor = null, Color overlayColor = null, Color valueIndicatorColor = null, SliderTrackShape trackShape = null, SliderTickMarkShape tickMarkShape = null, SliderComponentShape thumbShape = null, SliderComponentShape overlayShape = null, SliderComponentShape valueIndicatorShape = null, ShowValueIndicator? showValueIndicator = default(ShowValueIndicator? ), TextStyle valueIndicatorTextStyle = null)
Parameters
Returns
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(SliderThemeData other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
fromPrimaryColors(Color, Color, Color, TextStyle)
Declaration
public static SliderThemeData fromPrimaryColors(Color primaryColor = null, Color primaryColorDark = null, Color primaryColorLight = null, TextStyle valueIndicatorTextStyle = null)
Parameters
Type |
Name |
Description |
Color |
primaryColor |
|
Color |
primaryColorDark |
|
Color |
primaryColorLight |
|
TextStyle |
valueIndicatorTextStyle |
|
Returns
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static SliderThemeData lerp(SliderThemeData a, SliderThemeData b, float t)
Parameters
Returns
Operators
Declaration
public static bool operator ==(SliderThemeData left, SliderThemeData right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(SliderThemeData left, SliderThemeData right)
Parameters
Returns
Type |
Description |
System.Boolean |
|