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