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, required bool canCrop, BoxFit? fit, Color? indicatorColor, Color? actionTextColor, TextStyle? indicatorTextStyle, Widget? confirmIcon, bool showSelectedCount = false, bool useRootNavigator = true, String? fontFamily, ValueChanged<List<AssetEntity>>? onAssetsUpdated, 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
Static Methods
-
defaultTextDelegate(BuildContext context)
→ AssetPickerTextDelegate
-
-
pickAssets(BuildContext context, {Key? key, required bool canCrop, BoxFit? fit, String? fontFamily, Color? actionTextColor, TextStyle? indicatorTextStyle, Color? indicatorColor, Widget? confirmIcon, bool showSelectedCount = false, bool useRootNavigator = true, ValueChanged<List<AssetEntity>>? onAssetsUpdated, 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.