color property

Color? color
final

The fill color of the Polygon.

Note that translucent (opacity is not 1 or 0) colors will reduce performance, as the internal canvas must be drawn to and 'saved' more frequently to ensure the colors of overlapping polygons are mixed correctly.

Implementation

final Color? color;