getAppBackgroundColor static method
Color
getAppBackgroundColor(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static Color getAppBackgroundColor(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return override?.appBackgroundColor ??
style?.appBackgroundColor ??
getStyleByType(UpConfig.of(context).theme, colorType)
.appBackgroundColor ??
UpConfig.of(context).theme.baseColor;
}