ImagePickerBuilderDelegate class

Constructors

ImagePickerBuilderDelegate(DefaultAssetPickerProvider provider, ImagePickerConfigDelegate delegate, ImagePickerController? imagePickerController, {int gridCount = 4})

Properties

delegate ImagePickerConfigDelegate
final
delegateObject → dynamic
finalinherited
delegateState ↔ _PerceiveSlidableDelegateBuilderState?
The state of the delegate builder
getter/setter pairinherited
gridCount int
The column count inside of the _sliverGrid
final
hashCode int
The hash code for this object.
no setterinherited
imagePickerController ImagePickerController?
Controls the changes in state relative to the SlidingSheet
final
initialExtent double
no setterinherited
initialPage int
finalinherited
isScrolled bool
no setterinherited
pageCount int
finalinherited
provider DefaultAssetPickerProvider
ChangeNotifier for asset picker
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollControllers List<ScrollController>
finalinherited
sheetController → PerceiveSlidableController
no setterinherited
stateTower → Store<PerceiveSlidableState>
no setterinherited
staticScrollModifier double
finalinherited
tabController TabController
getter/setter pairinherited

Methods

assetGridItemCount(List<AssetEntity> assets, {int placeholderCount = 0}) int
Items and placeholders current displayed in the grid
assetItemBuilder(BuildContext context, DefaultAssetPickerProvider provider, int index, List<AssetEntity> currentAssets) Widget
Returns an Image or video widget depending on the duration of the AssetEntity
assetsGridBuilder(BuildContext context, ScrollController scrollController, bool scrollLock, double footerHeight) Widget
The main grid view builder for assets
customBodyBuilder(BuildContext context, SheetState? state, double extent, int pageIndex) Widget
inherited
dispose() → void
inherited
exampleLoadingIndicator(BuildContext context) Widget
Loading indicator
failedItemBuilder(BuildContext context) Widget
Item widgets when the thumb data load failed.
findChildIndexBuilder(String id, List<AssetEntity> assets, {int placeholderCount = 0}) int
greyOverlay(BuildContext context, AssetEntity asset) Widget
Overlays imageItemBuilder amd videoItemBuilder to display the slected state
headerBuilder(BuildContext context, dynamic pageObj, Widget spacer, double borderRadius) Widget
Builders and Listeners to be overriden
imageItemBuilder(BuildContext context, AssetEntity asset) Widget
The item builder for image type of asset
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild([void fn()?]) → void
inherited
scrollingBodyBuilder(BuildContext context, SheetState? state, ScrollController scrollController, int pageIndex, bool scrollLock, double footerHeight) Widget
selectedOverlay(BuildContext context, AssetEntity asset) Widget
Overlays imageItemBuilder amd videoItemBuilder to display the slected state
sheetListener(BuildContext context, SheetState state) → void
inherited
toString() String
A string representation of this object.
inherited
videoItemBuilder(BuildContext context, AssetEntity asset) Widget
The item builder for video type of asset
wrapperBuilder(BuildContext context, Widget page) Widget
inherited

Operators

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