MediaAlbum constructor

const MediaAlbum({
  1. Key? key,
  2. int gridCount = 4,
  3. int? maxCount,
  4. required AssetPathEntity album,
  5. int maxWidth = 1280,
  6. int maxHeight = 720,
  7. int albumThumbWidth = 200,
  8. int albumThumbHeight = 200,
  9. List<ImageObject>? selectedImages,
  10. Future<File> preProcessing(
    1. String
    )?,
  11. dynamic onImageSelected(
    1. ImageObject
    )?,
})

Default constructor for photo album widget.

Implementation

const MediaAlbum(
    {Key? key,
    this.gridCount = 4,
    this.maxCount,
    required this.album,
    this.maxWidth = 1280,
    this.maxHeight = 720,
    this.albumThumbWidth = 200,
    this.albumThumbHeight = 200,
    this.selectedImages,
    this.preProcessing,
    this.onImageSelected})
    : super(key: key);