background property

Color? background
final

A color that typically appears behind scrollable content.

The color is applied to ThemeData canvasColor andbackgroundColor, it is used eg in menu drawer.

If no value is given defaults to FlexColor.materialLightBackground if brightness is light and to FlexColor.materialDarkBackground if brightness is dark.

Implementation

final Color? background;