sliderThemeData method

  1. @override
SliderThemeData sliderThemeData(
  1. BuildContext context
)
override

Slider's theme data

Implementation

@override
SliderThemeData sliderThemeData(BuildContext context) => SliderTheme.of(context).copyWith(
  trackHeight: 2,
  thumbColor: Colors.white,
  disabledThumbColor: Colors.white,
  activeTrackColor: const Color(0xFFF83112),
  inactiveTrackColor: Colors.white.withOpacity(0.5),
  overlayShape: CustomRoundSliderOverlayShape(),
);