ImagePreview constructor
const
ImagePreview({
- Key? key,
- required String imagePath,
- required VoidCallback onRemove,
- double size = 80,
- double borderRadius = 8,
Creates an image preview widget.
Implementation
const ImagePreview({
super.key,
required this.imagePath,
required this.onRemove,
this.size = 80,
this.borderRadius = 8,
});