color property

Color? color
final

If provided, Background draws with this color Otherwise we use gradient to draw the background. It throws an exception if you provide both color and gradient

Implementation

final Color? color;