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. PathNameBuilder<AssetPathEntity>? pathNameBuilder,
  13. String? title,
  14. InstaCropDelegate cropDelegate = const InstaCropDelegate(),
  15. bool closeOnComplete = false,
  16. bool skipCropOnComplete = false,
  17. 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,
});