PointStyle constructor
const
PointStyle({})
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 altitude parameter is how high the point rises from the surface.
The transitionDuration parameter is the fade in/out duration in ms.
The merge parameter enables batch rendering for performance.
The default value of size is 4.
The default value of color is white.
The default value of altitude is 0.0.
The default value of transitionDuration is 500.
The default value of merge is false.
Example usage:
PointStyle(
size: 4,
color: Colors.white,
altitude: 0.1,
transitionDuration: 500,
);
Implementation
const PointStyle({
this.size = 4,
this.color = Colors.white,
this.altitude = 0.0,
this.transitionDuration = 500,
this.merge = false,
});