DefaultAssetPickerProvider.forTest constructor
DefaultAssetPickerProvider.forTest({
- List<
AssetEntity> ? selectedAssets, - RequestType requestType = RequestType.image,
- SortPathDelegate<
AssetPathEntity> ? sortPathDelegate = SortPathDelegate.common, - bool sortPathsByModifiedDate = false,
- PMFilter? filterOptions,
- int maxAssets = defaultMaxAssetsCount,
- int pageSize = 80,
- ThumbnailSize pathThumbnailSize = defaultPathThumbnailSize,
Implementation
@visibleForTesting
DefaultAssetPickerProvider.forTest({
super.selectedAssets,
this.requestType = RequestType.image,
this.sortPathDelegate = SortPathDelegate.common,
this.sortPathsByModifiedDate = false,
this.filterOptions,
super.maxAssets,
super.pageSize = 80,
super.pathThumbnailSize,
}) {
Singleton.sortPathDelegate = sortPathDelegate ?? SortPathDelegate.common;
}