MediaPicker constructor
MediaPicker({
- required ValueChanged<
List< onPicked,Media> > - required List<
Media> mediaList, - VoidCallback? onCancel,
- MediaCount mediaCount = MediaCount.multiple,
- MediaType mediaType = MediaType.all,
- PickerDecoration? decoration,
- ScrollController? scrollController,
- ValueChanged<
List< ? onPicking,Media> > - HeaderBuilder? headerBuilder,
The MediaPicker constructor that will select media files form storage
Implementation
MediaPicker({
required this.onPicked,
required this.mediaList,
this.onCancel,
this.mediaCount = MediaCount.multiple,
this.mediaType = MediaType.all,
this.decoration,
this.scrollController,
this.onPicking,
this.headerBuilder,
});