elevatedColor property Null safety
final
The color to use when the BuildContext implies a combination of light mode, normal contrast, and elevated interface elevation.
In other words, this color will be the effective color of the CupertinoDynamicColor after it is resolved against a BuildContext that:
- has a CupertinoTheme whose CupertinoThemeData.brightness is Brightness.light, or a MediaQuery whose MediaQueryData.platformBrightness is Brightness.light.
- has a MediaQuery whose MediaQueryData.highContrast is
false
. - has a CupertinoUserInterfaceLevel that indicates CupertinoUserInterfaceLevelData.elevated.
Implementation
final Color elevatedColor;