PickerGridItem constructor
const
PickerGridItem({
- Key? key,
- required XAsset asset,
- required int cellSizePx,
- required SelectionContext selection,
- required ThumbnailCache cache,
- required Map<
String, ComposeEntry> entriesById, - required ValueChanged<
XAsset> onTap, - required PickerViewKind viewKind,
- required PickerSourceRegistry sourceRegistry,
Creates the cell of asset.
Implementation
const PickerGridItem({
super.key,
required this.asset,
required this.cellSizePx,
required this.selection,
required this.cache,
required this.entriesById,
required this.onTap,
required this.viewKind,
required this.sourceRegistry,
});