FSliderThumbStyle constructor

FSliderThumbStyle({
  1. required Color color,
  2. required Color borderColor,
  3. double borderWidth = 2,
})

Creates a FSliderThumbStyle.

Implementation

FSliderThumbStyle({
  required this.color,
  required this.borderColor,
  this.borderWidth = 2,
}) : assert(0 < borderWidth, 'The border width must be positive');