backgroundColor property Null safety

Color? backgroundColor
final

Sets the color of the Material that holds all of the Drawer's contents.

If this is null, then DrawerThemeData.backgroundColor is used. If that is also null, then it falls back to Material's default.

Implementation

final Color? backgroundColor;