syncSelectedAssetsWhenPop method

  1. @Deprecated('No longer used by the package. ' 'This will be removed in 10.0.0')
Future<bool> syncSelectedAssetsWhenPop()

Sync selected assets currently with asset picker provider. 在预览中当前已选的图片同步到选择器的状态

Implementation

@Deprecated(
  'No longer used by the package. '
  'This will be removed in 10.0.0',
)
Future<bool> syncSelectedAssetsWhenPop() async {
  if (provider?.currentlySelectedAssets != null) {
    selectorProvider?.selectedAssets = provider!.currentlySelectedAssets;
  }
  return true;
}