elevatedMaterialBackgroundColor static method
- BuildContext context
Color suitable for an elevated material background such as dropdown menus or the background of a refresh indicator.
In the original flutter code, these components use ThemeData.canvasColor, but other unrelated components also use the canvas color such as vanilla Material objects or animated page transition themes.
Implementation
static Color elevatedMaterialBackgroundColor(BuildContext context) =>
_elevatedMaterialBackgroundColor(context.colorScheme);