InstaAssetPickerConfig constructor
const
InstaAssetPickerConfig({
- int gridCount = _kGridCount,
- ThemeData? pickerTheme,
- SpecialItemPosition? specialItemPosition,
- SpecialItemBuilder<
AssetPathEntity> ? specialItemBuilder, - LoadingIndicatorBuilder? loadingIndicatorBuilder,
- AssetSelectPredicate<
AssetEntity> ? selectPredicate, - LimitedPermissionOverlayPredicate? limitedPermissionOverlayPredicate,
- Color? themeColor,
- AssetPickerTextDelegate? textDelegate,
- ThumbnailSize gridThumbnailSize = defaultAssetGridPreviewSize,
- ThumbnailSize? previewThumbnailSize,
- PathNameBuilder<
AssetPathEntity> ? pathNameBuilder, - String? title,
- InstaCropDelegate cropDelegate = const InstaCropDelegate(),
- bool closeOnComplete = false,
- bool skipCropOnComplete = false,
- InstaPickerActionsBuilder? actionsBuilder,
Implementation
const InstaAssetPickerConfig({
/// [DefaultAssetPickerBuilderDelegate] config
this.gridCount = _kGridCount,
this.pickerTheme,
this.specialItemPosition,
this.specialItemBuilder,
this.loadingIndicatorBuilder,
this.selectPredicate,
this.limitedPermissionOverlayPredicate,
this.themeColor,
this.textDelegate,
this.gridThumbnailSize = defaultAssetGridPreviewSize,
this.previewThumbnailSize,
this.pathNameBuilder,
/// [InstaAssetPickerBuilder] config
this.title,
this.cropDelegate = const InstaCropDelegate(),
this.closeOnComplete = false,
this.skipCropOnComplete = false,
this.actionsBuilder,
});