SelectedFileView constructor

const SelectedFileView({
  1. Key? key,
  2. required SelectedFile file,
  3. required OnChange onChange,
  4. required OnDelete onDelete,
  5. required Widget? changeIcon,
  6. required Widget? deleteIcon,
  7. SelectedImageBuilder? selectedImageBuilder,
  8. SelectedVideoBuilder? selectedVideoBuilder,
})

Implementation

const SelectedFileView({
  Key? key,
  required this.file,
  required this.onChange,
  required this.onDelete,
  required this.changeIcon,
  required this.deleteIcon,
  this.selectedImageBuilder,
  this.selectedVideoBuilder,
}) : super(key: key);