backgroundColor property

Color? backgroundColor
final

Overrides the default value for SnackBar.backgroundColor.

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

Implementation

final Color? backgroundColor;