You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice how the DateTime picker has a greenish tint to it? My ThemeData is has a colorScheme that was seeded from #0A7A34 and no explicit themes or colors are used here. So, the platform dialog does something differently here and it is wrong.
I noticed the solution is to set the PlatformAlertDialog color to surfaceContainerHigh:
@philipvrx It has no tint, despite me using secondary and tertiary colors in my theme. I have set almost every color that ThemeData allows me to set.
Even if there is any other field on ThemeData that controls this, it's clearly a bug. The DateTime picker uses the primary color as tint color, so the alert dialog should do the same for a coherent experience.
This is a platform dialog spawned on Material:
This is a platform date picker spawned on Material:
Notice how the DateTime picker has a greenish tint to it? My
ThemeData
is has acolorScheme
that was seeded from#0A7A34
and no explicit themes or colors are used here. So, the platform dialog does something differently here and it is wrong.I noticed the solution is to set the
PlatformAlertDialog
color tosurfaceContainerHigh
:Defaults should be changed here I guess.
The text was updated successfully, but these errors were encountered: