InstaAssetPicker class
Properties
-
builder
↔ InstaAssetPickerBuilder?
-
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose()
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
restorableAssetsPicker(BuildContext context, {Key? key, bool useRootNavigator = true, dynamic onPermissionDenied(BuildContext context, String delegateDescription)?, InstaAssetCropDelegate cropDelegate = const InstaAssetCropDelegate(), int gridCount = _kGridCount, required DefaultAssetPickerProvider provider, ThemeData? pickerTheme, AssetPickerTextDelegate? textDelegate, String? title, bool closeOnComplete = false, required dynamic onCompleted(Stream<InstaAssetsExportDetails> exportDetails), Widget loadingIndicatorBuilder(BuildContext context, bool isAssetsEmpty)?, LimitedPermissionOverlayPredicate? limitedPermissionOverlayPredicate, Widget? specialItemBuilder(BuildContext context, AssetPathEntity? path, int length)?, SpecialItemPosition? specialItemPosition, InstaPickerActionsBuilder? actionsBuilder})
→ Future<List<AssetEntity>?>
-
When using
restorableAssetsPicker
function, the picker's state is preserved even after pop
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
defaultTextDelegate(BuildContext context)
→ AssetPickerTextDelegate
-
-
pickAssets(BuildContext context, {Key? key, bool useRootNavigator = true, dynamic onPermissionDenied(BuildContext context, String delegateDescription)?, InstaAssetCropDelegate cropDelegate = const InstaAssetCropDelegate(), int gridCount = _kGridCount, ThemeData? pickerTheme, AssetPickerTextDelegate? textDelegate, String? title, bool closeOnComplete = false, required dynamic onCompleted(Stream<InstaAssetsExportDetails> exportDetails), Widget loadingIndicatorBuilder(BuildContext context, bool isAssetsEmpty)?, LimitedPermissionOverlayPredicate? limitedPermissionOverlayPredicate, List<AssetEntity>? selectedAssets, int maxAssets = defaultMaxAssetsCount, int pageSize = defaultAssetsPerPage, ThumbnailSize pathThumbnailSize = defaultPathThumbnailSize, SortPathDelegate<AssetPathEntity>? sortPathDelegate = SortPathDelegate.common, bool sortPathsByModifiedDate = false, FilterOptionGroup? filterOptions, Duration initializeDelayDuration = _kInitializeDelayDuration, Widget? specialItemBuilder(BuildContext, AssetPathEntity?, int)?, SpecialItemPosition? specialItemPosition, InstaPickerActionsBuilder? actionsBuilder})
→ Future<List<AssetEntity>?>
-
Pick assets with the given arguments.
-
refreshAndSelectEntity(BuildContext context, AssetEntity? entity)
→ Future<void>
-
-
themeData(Color? themeColor, {bool light = false})
→ ThemeData
-
Build a ThemeData with the given
themeColor
for the picker.