FlatMarker constructor
FlatMarker({
- bool flat = true,
- required LatLng position,
- double alpha = 1.0,
- Offset anchor = const Offset(0.5, 0.5),
- bool clickable = true,
- bool draggable = false,
- BitmapDescriptor icon = BitmapDescriptor.defaultMarker,
- bool infoWindowEnable = true,
- InfoWindow infoWindow = InfoWindow.noText,
- double rotation = 0.0,
- bool visible = true,
- double zIndex = 0.0,
- ArgumentCallback<
String> ? onTap, - MarkerDragEndCallback? onDragEnd,
Implementation
FlatMarker({
this.flat = true,
required LatLng position,
double alpha = 1.0,
Offset anchor = const Offset(0.5, 0.5),
bool clickable = true,
bool draggable = false,
BitmapDescriptor icon = BitmapDescriptor.defaultMarker,
bool infoWindowEnable = true,
InfoWindow infoWindow = InfoWindow.noText,
double rotation = 0.0,
bool visible = true,
double zIndex = 0.0,
ArgumentCallback<String>? onTap,
MarkerDragEndCallback? onDragEnd,
}) : super(
position: position,
alpha: alpha,
anchor: anchor,
clickable: clickable,
draggable: draggable,
icon: icon,
infoWindowEnable: infoWindowEnable,
infoWindow: infoWindow,
rotation: rotation,
visible: visible,
zIndex: zIndex,
onTap: onTap,
onDragEnd: onDragEnd,
);