sliderColors static method
Implementation
static MiuixSliderColors sliderColors(BuildContext context) {
final c = MiuixTheme.of(context).colors;
return MiuixSliderColors(
foregroundColor: c.primary,
disabledForegroundColor: c.disabledPrimarySlider,
backgroundColor: c.sliderBackground,
disabledBackgroundColor: c.disabledSecondary,
thumbColor: c.onPrimary,
disabledThumbColor: c.disabledOnPrimary,
keyPointColor: c.sliderKeyPoint,
keyPointForegroundColor: c.sliderKeyPointForeground,
);
}