onError property
Color
onError
The Material Design "On" color contrasting with this theme's error Color, i.e., Colors.black or Colors.white.
Implementation
Color get onError => errorColor.contrastColor;
The Material Design "On" color contrasting with this theme's error Color, i.e., Colors.black or Colors.white.
Color get onError => errorColor.contrastColor;