GalleryGridView constructor
const
GalleryGridView({
- Key? key,
- required AssetPathEntity? path,
- required GalleryMediaPickerController provider,
- OnAssetItemClick? onAssetItemClick,
- RemoveAssetItem? onAssetRemove,
- bool loadWhenScrolling = false,
- double childAspectRatio = 0.5,
- Color gridViewBackgroundColor = Colors.white,
- int crossAxisCount = 3,
- EdgeInsets? padding,
- ScrollController? gridViewController,
- ScrollPhysics? gridViewPhysics,
- Color selectedBackgroundColor = Colors.black,
- Color selectedCheckColor = Colors.white,
- Color imageBackgroundColor = Colors.white,
- BoxFit thumbnailBoxFix = BoxFit.cover,
- Color selectedCheckBackgroundColor = Colors.white,
- int? thumbnailQuality = 200,
Implementation
const GalleryGridView(
{super.key,
required this.path,
required this.provider,
this.onAssetItemClick,
this.onAssetRemove,
this.loadWhenScrolling = false,
this.childAspectRatio = 0.5,
this.gridViewBackgroundColor = Colors.white,
this.crossAxisCount = 3,
this.padding,
this.gridViewController,
this.gridViewPhysics,
this.selectedBackgroundColor = Colors.black,
this.selectedCheckColor = Colors.white,
this.imageBackgroundColor = Colors.white,
this.thumbnailBoxFix = BoxFit.cover,
this.selectedCheckBackgroundColor = Colors.white,
this.thumbnailQuality = 200});