MarkerWidget constructor
const
MarkerWidget({
- Key? key,
- required ImageMarker marker,
- required int index,
- required Offset position,
- double diameter = 20.0,
- dynamic onSelected()?,
- required dynamic onShowEditDialog(),
- required dynamic onShowDeleteDialog(),
- required ImageMarkerController controller,
- void onPanUpdate(
- dynamic details
- GlobalKey<
State< ? imageKey,StatefulWidget> >
Implementation
const MarkerWidget({
super.key,
required this.marker,
required this.index,
required this.position,
this.diameter = 20.0,
this.onSelected,
required this.onShowEditDialog,
required this.onShowDeleteDialog,
required this.controller,
this.onPanUpdate,
this.imageKey,
});