MediaPickerParamsModel constructor
MediaPickerParamsModel({
- int maxPickImages = 2,
- bool singlePick = true,
- Color appBarColor = Colors.black,
- Color albumBackGroundColor = Colors.black,
- Color albumDividerColor = Colors.white,
- Color albumTextColor = Colors.white,
- Color? appBarIconColor,
- Color appBarTextColor = Colors.white,
- int crossAxisCount = 3,
- Color gridViewBackgroundColor = Colors.black54,
- double childAspectRatio = 0.5,
- Widget? appBarLeadingWidget,
- double appBarHeight = 100,
- Color imageBackgroundColor = Colors.white,
- EdgeInsets? gridPadding,
- ScrollController? gridViewController,
- ScrollPhysics? gridViewPhysics,
- Color selectedBackgroundColor = Colors.white,
- Color selectedCheckColor = Colors.white,
- BoxFit thumbnailBoxFix = BoxFit.cover,
- Color selectedCheckBackgroundColor = Colors.white,
- bool onlyImages = true,
- bool onlyVideos = false,
- int thumbnailQuality = 200,
Implementation
MediaPickerParamsModel(
{this.maxPickImages = 2,
this.singlePick = true,
this.appBarColor = Colors.black,
this.albumBackGroundColor = Colors.black,
this.albumDividerColor = Colors.white,
this.albumTextColor = Colors.white,
this.appBarIconColor,
this.appBarTextColor = Colors.white,
this.crossAxisCount = 3,
this.gridViewBackgroundColor = Colors.black54,
this.childAspectRatio = 0.5,
this.appBarLeadingWidget,
this.appBarHeight = 100,
this.imageBackgroundColor = Colors.white,
this.gridPadding,
this.gridViewController,
this.gridViewPhysics,
this.selectedBackgroundColor = Colors.white,
this.selectedCheckColor = Colors.white,
this.thumbnailBoxFix = BoxFit.cover,
this.selectedCheckBackgroundColor = Colors.white,
this.onlyImages = true,
this.onlyVideos = false,
this.thumbnailQuality = 200});