assetListBuilder method
Widget
assetListBuilder(
- BuildContext context,
- DefaultAssetPickerProvider provider,
- ScrollController scrollController,
- bool scrollLock,
Implementation
Widget assetListBuilder(BuildContext context, DefaultAssetPickerProvider provider, ScrollController scrollController, bool scrollLock, double footerHeight){
return delegate.albumMenuBuilder(context, provider.currentPathEntity?.name ?? '', provider.pathEntityList, scrollController, scrollLock, footerHeight, (AssetPathEntity entity){
provider.currentPathEntity = entity;
if(pageCubit.state){
pageCubit.emit(false);
sheetController.pop();
}
provider.getAssetsFromEntity(0, entity);
});
}