FlutterSliderTrackBar constructor
const
FlutterSliderTrackBar({
- BoxDecoration? inactiveTrackBar,
- BoxDecoration? activeTrackBar,
- Color activeDisabledTrackBarColor = const Color(0xffb5b5b5),
- Color inactiveDisabledTrackBarColor = const Color(0xffe5e5e5),
- double activeTrackBarHeight = 3.5,
- double inactiveTrackBarHeight = 3,
- Widget? centralWidget,
- bool activeTrackBarDraggable = true,
Implementation
const FlutterSliderTrackBar({
this.inactiveTrackBar,
this.activeTrackBar,
this.activeDisabledTrackBarColor = const Color(0xffb5b5b5),
this.inactiveDisabledTrackBarColor = const Color(0xffe5e5e5),
this.activeTrackBarHeight = 3.5,
this.inactiveTrackBarHeight = 3,
this.centralWidget,
this.activeTrackBarDraggable = true,
}) : assert(activeTrackBarHeight > 0 && inactiveTrackBarHeight > 0);