ImageHotspotEditor constructor
const
ImageHotspotEditor({
- Key? key,
- required String imageUrl,
- Hotspot? initialHotspot,
- CropRect? initialCrop,
- FramingMode initialMode = FramingMode.focus,
- double? initialScale,
- Offset? initialOffset,
- ValueChanged<
FramingMode> ? onModeChanged, - required ValueChanged<
({CropRect? crop, Hotspot? hotspot, Offset? offset, double? scale})> onChanged, - ValueChanged<
({CropRect? crop, Hotspot? hotspot, Offset? offset, double? scale})> ? onLiveChange, - 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,
});