getDatePickerDialogBackgroundColor static method
Color
getDatePickerDialogBackgroundColor(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static Color getDatePickerDialogBackgroundColor(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return override?.datePickerDialogBackgroundColor ??
style?.datePickerDialogBackgroundColor ??
getStyleByType(
UpConfig.of(context).theme,
colorType,
).datePickerDialogBackgroundColor ??
Theme.of(context).colorScheme.primary;
}