MarkerSettings constructor
const
MarkerSettings({
- bool? isVisible,
- double? height = 8,
- double? width = 8,
- Color? color,
- DataMarkerType? shape,
- double? borderWidth,
- Color? borderColor,
- ImageProvider<
Object> ? image,
Creating an argument constructor of MarkerSettings class.
Implementation
const MarkerSettings(
{bool? isVisible,
double? height = 8,
double? width = 8,
this.color,
DataMarkerType? shape,
double? borderWidth,
this.borderColor,
this.image})
: isVisible = isVisible ?? false,
height = height ?? 8,
width = width ?? 8,
shape = shape ?? DataMarkerType.circle,
borderWidth = borderWidth ?? 2;