ImageWall constructor

const ImageWall({
  1. Key? key,
  2. bool multiple = false,
  3. int length = 4,
  4. int count = 9,
  5. List<String>? images,
  6. Widget? uploadBtn,
  7. BoxFit imageFit = BoxFit.cover,
  8. required dynamic onChange(
    1. List<String> newImages
    ),
  9. required Future<List<String>> onUpload(
    1. List<Asset> file
    ),
  10. dynamic onRemove(
    1. String? removedUrl
    )?,
})

Implementation

const ImageWall({
  Key? key,
  this.multiple: false,
  this.length: 4,
  this.count: 9,
  this.images,
  this.uploadBtn,
  this.imageFit: BoxFit.cover,
  required this.onChange,
  required this.onUpload,
  this.onRemove,
}) : super(key: key);