color property
Background color. If not provided an initializing color
nor
decoration
, this field defaults to Colors.black so that a Foil.sheet
has pixels to which it can mask its gradient.
Note that if provided a decoration, but that Decoration has no color,
and no initializing color
value was provided either, this Sheet
may
potentially result in a layer that has no pixels to which a Foil
may be masked.
Implementation
final Color? color;