PointStyle constructor

const PointStyle({
  1. double size = 4,
  2. Color color = Colors.white,
})

Creates a new instance of the PointStyle class.

The size parameter is the size of the point. The color parameter is the color of the point.

The default value of size is 4. The default value of color is white.

Example usage:

PointStyle(
 size: 4,
color: Colors.white,
);

Implementation

const PointStyle({this.size = 4, this.color = Colors.white});