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

Implementation

const FlutterSliderTrackBar({
  this.inactiveTrackBar,
  this.activeTrackBar,
  this.activeDisabledTrackBarColor = const Color(0xffb5b5b5),
  this.inactiveDisabledTrackBarColor = const Color(0xffe5e5e5),
  this.activeTrackBarHeight = 3.5,
  this.inactiveTrackBarHeight = 3,
})  : assert(activeTrackBarHeight != null &&
          activeTrackBarHeight > 0 &&
          inactiveTrackBarHeight != null &&
          inactiveTrackBarHeight > 0),
      assert(activeDisabledTrackBarColor != null &&
          inactiveDisabledTrackBarColor != null);