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:
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.