FSliderMarkStyle constructor

const FSliderMarkStyle({
  1. required Color tickColor,
  2. required TextStyle labelTextStyle,
  3. required Alignment labelAnchor,
  4. required double labelOffset,
  5. double tickSize = 3,
})

Creates a FSliderMarkStyle.

Implementation

const FSliderMarkStyle({
  required this.tickColor,
  required this.labelTextStyle,
  required this.labelAnchor,
  required this.labelOffset,
  this.tickSize = 3,
}) : assert(0 < tickSize, 'tickDimension must be positive, but is $tickSize.');