InstaAssetPickerConfig constructor

const InstaAssetPickerConfig({
  1. int gridCount = _kGridCount,
  2. ThemeData? pickerTheme,
  3. SpecialItemPosition? specialItemPosition,
  4. SpecialItemBuilder<AssetPathEntity>? specialItemBuilder,
  5. LoadingIndicatorBuilder? loadingIndicatorBuilder,
  6. AssetSelectPredicate<AssetEntity>? selectPredicate,
  7. LimitedPermissionOverlayPredicate? limitedPermissionOverlayPredicate,
  8. Color? themeColor,
  9. AssetPickerTextDelegate? textDelegate,
  10. ThumbnailSize gridThumbnailSize = defaultAssetGridPreviewSize,
  11. ThumbnailSize? previewThumbnailSize,
  12. String? title,
  13. InstaCropDelegate cropDelegate = const InstaCropDelegate(),
  14. bool closeOnComplete = false,
  15. bool skipCropOnComplete = false,
  16. 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,

  /// [InstaAssetPickerBuilder] config

  this.title,
  this.cropDelegate = const InstaCropDelegate(),
  this.closeOnComplete = false,
  this.skipCropOnComplete = false,
  this.actionsBuilder,
});