ImagePreview constructor

const ImagePreview({
  1. Key? key,
  2. double previewHeight = 60,
  3. double previewWidth = 80,
  4. VoidCallback? onDelete,
  5. required File file,
  6. Color iconColor = Colors.white,
  7. Color borderColor = Colors.white,
})

Implementation

const ImagePreview(
    {Key? key,
    this.previewHeight = 60,
    this.previewWidth = 80,
    this.onDelete,
    required this.file,
    this.iconColor = Colors.white,
    this.borderColor = Colors.white})
    : super(key: key);