DHSliderTrackShape constructor

const DHSliderTrackShape({
  1. Image? image,
  2. bool alignThumbCenter = true,
  3. List<String>? marks,
  4. TextStyle? activeMarkStyle,
  5. TextStyle? inactiveMarkStyle,
  6. TextStyle? disabledActiveMarkStyle,
  7. TextStyle? disabledInactiveMarkStyle,
})

Implementation

const DHSliderTrackShape({
  this.image,
  this.alignThumbCenter = true,
  this.marks,
  this.activeMarkStyle,
  this.inactiveMarkStyle,
  this.disabledActiveMarkStyle,
  this.disabledInactiveMarkStyle,
}) : assert(marks == null || marks.length > 1);