surface property

Color? surface
final

The background color for widgets like Card, BottomAppBar and Dialogs.

If no value is given defaults to FlexColor.materialLightSurface if brightness is light and to FlexColor.materialDarkSurface if brightness is dark.

Implementation

final Color? surface;