SfSliderThemeData constructor
const
SfSliderThemeData({
- double activeTrackHeight = 6.0,
- double inactiveTrackHeight = 4.0,
- Size? tickSize,
- Size? minorTickSize,
- Offset? tickOffset,
- Offset? labelOffset,
- TextStyle? inactiveLabelStyle,
- TextStyle? activeLabelStyle,
- TextStyle? tooltipTextStyle,
- Color? inactiveTrackColor,
- Color? activeTrackColor,
- Color? thumbColor,
- Color? thumbStrokeColor,
- Color? activeDividerStrokeColor,
- Color? inactiveDividerStrokeColor,
- Color? activeTickColor,
- Color? inactiveTickColor,
- Color? disabledActiveTickColor,
- Color? disabledInactiveTickColor,
- Color? activeMinorTickColor,
- Color? inactiveMinorTickColor,
- Color? disabledActiveMinorTickColor,
- Color? disabledInactiveMinorTickColor,
- Color? overlayColor,
- Color? inactiveDividerColor,
- Color? activeDividerColor,
- Color? disabledActiveTrackColor,
- Color? disabledInactiveTrackColor,
- Color? disabledActiveDividerColor,
- Color? disabledInactiveDividerColor,
- Color? disabledThumbColor,
- Color? tooltipBackgroundColor,
- double? trackCornerRadius,
- double overlayRadius = 24.0,
- double thumbRadius = 10.0,
- double? activeDividerRadius,
- double? inactiveDividerRadius,
- double? thumbStrokeWidth,
- double? activeDividerStrokeWidth,
- double? inactiveDividerStrokeWidth,
Creating an argument constructor of SfSliderThemeData class.
Implementation
const SfSliderThemeData({
this.activeTrackHeight = 6.0,
this.inactiveTrackHeight = 4.0,
this.tickSize,
this.minorTickSize,
this.tickOffset,
this.labelOffset,
this.inactiveLabelStyle,
this.activeLabelStyle,
this.tooltipTextStyle,
this.inactiveTrackColor,
this.activeTrackColor,
this.thumbColor,
this.thumbStrokeColor,
this.activeDividerStrokeColor,
this.inactiveDividerStrokeColor,
this.activeTickColor,
this.inactiveTickColor,
this.disabledActiveTickColor,
this.disabledInactiveTickColor,
this.activeMinorTickColor,
this.inactiveMinorTickColor,
this.disabledActiveMinorTickColor,
this.disabledInactiveMinorTickColor,
this.overlayColor,
this.inactiveDividerColor,
this.activeDividerColor,
this.disabledActiveTrackColor,
this.disabledInactiveTrackColor,
this.disabledActiveDividerColor,
this.disabledInactiveDividerColor,
this.disabledThumbColor,
this.tooltipBackgroundColor,
this.trackCornerRadius,
this.overlayRadius = 24.0,
this.thumbRadius = 10.0,
this.activeDividerRadius,
this.inactiveDividerRadius,
this.thumbStrokeWidth,
this.activeDividerStrokeWidth,
this.inactiveDividerStrokeWidth,
});