FSliderThumbStyle constructor

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

Creates a FSliderThumbStyle.

Implementation

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