backgroundColor property
Color
get
backgroundColor
The background color of the menu bar.
Implementation
Color get backgroundColor => _backgroundColor;
set
backgroundColor
(Color v)
Sets the background color and invalidates cached styles.
Implementation
set backgroundColor(Color v) {
if (_backgroundColor == v) return;
_backgroundColor = v;
_invalidateCache();
markNeedsPaint();
}