MediaPickerParamsModel constructor

MediaPickerParamsModel({
  1. int maxPickImages = 2,
  2. bool singlePick = true,
  3. Color appBarColor = Colors.black,
  4. Color albumBackGroundColor = Colors.black,
  5. Color albumDividerColor = Colors.white,
  6. Color albumTextColor = Colors.white,
  7. Color? appBarIconColor,
  8. Color appBarTextColor = Colors.white,
  9. int crossAxisCount = 3,
  10. Color gridViewBackgroundColor = Colors.black54,
  11. double childAspectRatio = 0.5,
  12. Widget? appBarLeadingWidget,
  13. double appBarHeight = 100,
  14. Color imageBackgroundColor = Colors.white,
  15. EdgeInsets? gridPadding,
  16. ScrollController? gridViewController,
  17. ScrollPhysics? gridViewPhysics,
  18. Color selectedBackgroundColor = Colors.white,
  19. Color selectedCheckColor = Colors.white,
  20. BoxFit thumbnailBoxFix = BoxFit.cover,
  21. Color selectedCheckBackgroundColor = Colors.white,
  22. bool onlyImages = true,
  23. bool onlyVideos = false,
  24. 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});