ImageUploadView constructor

const ImageUploadView({
  1. Key? key,
  2. required FirebaseStorage storageRef,
  3. required dynamic onImageUploaded(
    1. String
    ),
  4. double aspectRatio = 2,
  5. String? imageUrl,
  6. String directory = 'images',
  7. Color borderColor = darkBlue,
})

Implementation

const ImageUploadView({
  Key? key,
  required this.storageRef,
  required this.onImageUploaded,
  this.aspectRatio = 2,
  this.imageUrl,
  this.directory = 'images',
  this.borderColor = darkBlue,
}) : super(key: key);