ImageHotspotEditor constructor

const ImageHotspotEditor({
  1. Key? key,
  2. required String imageUrl,
  3. Hotspot? initialHotspot,
  4. CropRect? initialCrop,
  5. FramingMode initialMode = FramingMode.focus,
  6. double? initialScale,
  7. Offset? initialOffset,
  8. ValueChanged<FramingMode>? onModeChanged,
  9. required ValueChanged<({CropRect? crop, Hotspot? hotspot, Offset? offset, double? scale})> onChanged,
  10. ValueChanged<({CropRect? crop, Hotspot? hotspot, Offset? offset, double? scale})>? onLiveChange,
  11. VoidCallback? onCancel,
})

Implementation

const ImageHotspotEditor({
  super.key,
  required this.imageUrl,
  this.initialHotspot,
  this.initialCrop,
  this.initialMode = FramingMode.focus,
  this.initialScale,
  this.initialOffset,
  this.onModeChanged,
  required this.onChanged,
  this.onLiveChange,
  this.onCancel,
});