sliderTheme static method

SliderThemeData sliderTheme(
  1. BuildContext context
)

Implementation

static SliderThemeData sliderTheme(BuildContext context) {
  return SliderTheme.of(context).copyWith(
    thumbColor: VideoEditorColors.primary,
    activeTrackColor: VideoEditorColors.primary,
    inactiveTrackColor: VideoEditorColors.trackInactiveFaint,
    trackHeight: 4,
    thumbShape: const RoundSliderThumbShape(enabledThumbRadius: 6.0),
    overlayShape: const RoundSliderOverlayShape(overlayRadius: 12.0),
  );
}