switchActiveTrackColor method
Color?
switchActiveTrackColor(
- BuildContext context, {
- Set<
MaterialState> ? materialStates, - Map<
String, dynamic> ? extraInfo,
override
Implementation
@override
Color? switchActiveTrackColor(BuildContext context, {Set<MaterialState>? materialStates, Map<String, dynamic>? extraInfo}) {
materialStates ??= <MaterialState>{};
return HexColor.fromHex('#c4dbf9').withAlpha(materialStates.isDisabled ? 100 : 255);
}