restingTrackColor static method
Implementation
static Color restingTrackColor(BuildContext context) {
final c = MiuixTheme.of(context).colors;
return c.background.computeLuminance() < .5
? Color.alphaBlend(Colors.white.withValues(alpha: .133), c.surface)
: Colors.white;
}