ImageWidget constructor

const ImageWidget({
  1. Key? key,
  2. required String imagePath,
  3. bool isEdit = false,
  4. required VoidCallback onClicked,
})

Implementation

const ImageWidget({
  Key? key,
  required this.imagePath,
  this.isEdit = false,
  required this.onClicked,
}) : super(key: key);