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)?, required DefaultAssetPickerProvider provider(), required dynamic onCompleted(Stream<InstaExportDetails> exportDetails), InstaAssetPickerConfig pickerConfig = const InstaAssetPickerConfig()}) 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

defaultTextDelegate(BuildContext context) AssetPickerTextDelegate
pickAssets(BuildContext context, {Key? key, bool useRootNavigator = true, AssetPickerPageRouteBuilder<List<AssetEntity>>? pageRouteBuilder, dynamic onPermissionDenied(BuildContext context, String delegateDescription)?, required dynamic onCompleted(Stream<InstaExportDetails> exportDetails), InstaAssetPickerConfig pickerConfig = const InstaAssetPickerConfig(), List<AssetEntity>? selectedAssets, int maxAssets = defaultMaxAssetsCount, int pageSize = defaultAssetsPerPage, ThumbnailSize pathThumbnailSize = defaultPathThumbnailSize, SortPathDelegate<AssetPathEntity>? sortPathDelegate = SortPathDelegate.common, bool sortPathsByModifiedDate = false, PMFilter? filterOptions, Duration initializeDelayDuration = _kInitializeDelayDuration, RequestType requestType = RequestType.common}) 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.