backgroundColor property Null safety

Color? backgroundColor
final

Default value for SnackBar.backgroundColor.

If null, SnackBar defaults to dark grey: Color(0xFF323232).

Implementation

final Color? backgroundColor;