NiceImageEditor constructor

const NiceImageEditor({
  1. Key? key,
  2. required String imageUrl,
  3. Future<void> onSave(
    1. Map<String, dynamic> edits
    )?,
  4. VoidCallback? onCancel,
  5. bool readOnly = false,
  6. bool showToolbar = true,
})

Implementation

const NiceImageEditor({
  super.key,
  required this.imageUrl,
  this.onSave,
  this.onCancel,
  this.readOnly = false,
  this.showToolbar = true,
});