PolygonBean constructor

PolygonBean({
  1. Color? edgeColor = Colors.red,
  2. Color? bodyColor = Colors.red,
  3. double? edgeWidth = 2,
  4. required List<Point> polygonPoint,
  5. Color? pointsColor = Colors.blue,
  6. double? pointsSize = 5,
})

Implementation

PolygonBean({this.edgeColor = Colors.red, this.bodyColor = Colors.red,
  this.edgeWidth = 2, required this.polygonPoint, this.pointsColor = Colors.blue, this.pointsSize = 5});