GalleryMediaPicker constructor
const
GalleryMediaPicker({
- Key? key,
- int maxPickImages = 2,
- bool singlePick = true,
- Color appBarColor = Colors.white,
- Color? albumBackGroundColor = Colors.white,
- Color? albumDividerColor,
- Color albumTextColor = Colors.black,
- Color? appBarIconColor,
- Color appBarTextColor = Colors.black,
- int? crossAxisCount,
- Color gridViewBackgroundColor = Colors.white,
- double? childAspectRatio,
- Widget? appBarLeadingWidget,
- double appBarHeight = 100,
- Color imageBackgroundColor = Colors.white,
- EdgeInsets? gridPadding,
- ScrollController? gridViewController,
- ScrollPhysics? gridViewPhysics,
- dynamic pathList(
- List<
PickedAssetModel> path
- List<
- Color selectedBackgroundColor = Colors.white,
- Color selectedCheckColor = Colors.white,
- BoxFit thumbnailBoxFix = BoxFit.cover,
- Color selectedCheckBackgroundColor = Colors.white,
- bool onlyImages = false,
- bool onlyVideos = false,
- int? thumbnailQuality,
- required GalleryMediaPickerController provider,
Implementation
const GalleryMediaPicker(
{super.key,
this.maxPickImages = 2,
this.singlePick = true,
this.appBarColor = Colors.white,
this.albumBackGroundColor = Colors.white,
this.albumDividerColor,
this.albumTextColor = Colors.black,
this.appBarIconColor,
this.appBarTextColor = Colors.black,
this.crossAxisCount,
this.gridViewBackgroundColor = Colors.white,
this.childAspectRatio,
this.appBarLeadingWidget,
this.appBarHeight = 100,
this.imageBackgroundColor = Colors.white,
this.gridPadding,
this.gridViewController,
this.gridViewPhysics,
this.pathList,
this.selectedBackgroundColor = Colors.white,
this.selectedCheckColor = Colors.white,
this.thumbnailBoxFix = BoxFit.cover,
this.selectedCheckBackgroundColor = Colors.white,
this.onlyImages = false,
this.onlyVideos = false,
this.thumbnailQuality,
required this.provider});