AssetPickerProvider<Asset, Path> constructor
AssetPickerProvider<Asset, Path> ({})
Implementation
AssetPickerProvider({
this.maxAssets = 9,
this.pageSize = 320,
this.pathThumbSize = 80,
List<Asset>? selectedAssets,
}) {
if (selectedAssets?.isNotEmpty == true) {
_selectedAssets = List<Asset>.from(selectedAssets!);
}
}