color property

Color? color
final

color could be used to override the default color of the container. If specified it overrides the gradient in case of gradientOnBorders false, otherwise the background color

Implementation

final Color? color;