primaryBackgroundColor property
Color
primaryBackgroundColor
Implementation
Color get primaryBackgroundColor {
if (brightness == Brightness.light) {
return _primaryBackgroundColor ?? _primaryTone.primaryTone(100);
} else {
return _primaryBackgroundColor ??
primaryColor.withHslSaturation(0.08).withLightness(0.2);
}
}