InstaAssetPicker class

Constructors

InstaAssetPicker()

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, AssetPickerPageRouteBuilder<List<AssetEntity>>? pageRouteBuilder, 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, bool)?}) 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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

pickAssets(BuildContext context, {Key? key, bool useRootNavigator = true, AssetPickerPageRouteBuilder<List<AssetEntity>>? pageRouteBuilder, 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, bool)?, 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}) Future<List<AssetEntity>?>
Pick assets with the given arguments.
themeData(Color? themeColor, {bool light = false}) ThemeData
Build a ThemeData with the given themeColor for the picker.