diff --git a/lib/src/constants/typedefs.dart b/lib/src/constants/typedefs.dart index 129514fb..601b86e6 100644 --- a/lib/src/constants/typedefs.dart +++ b/lib/src/constants/typedefs.dart @@ -9,8 +9,6 @@ import 'package:flutter/widgets.dart'; import 'package:photo_manager/photo_manager.dart' show PermissionState; import 'package:provider/provider.dart'; -import './enums.dart'; - /// Mirroring [ChangeNotifierProvider]. typedef CNP = ChangeNotifierProvider; @@ -78,8 +76,3 @@ typedef AssetsChangeRefreshPredicate = bool Function( MethodCall call, Path? path, ); - -typedef SpecialItemModel = ({ - SpecialItemPosition position, - Widget item, -}); diff --git a/lib/src/delegates/asset_picker_builder_delegate.dart b/lib/src/delegates/asset_picker_builder_delegate.dart index cb6cb4c1..6ea56008 100644 --- a/lib/src/delegates/asset_picker_builder_delegate.dart +++ b/lib/src/delegates/asset_picker_builder_delegate.dart @@ -2476,3 +2476,8 @@ class DefaultAssetPickerBuilderDelegate ); } } + +typedef SpecialItemModel = ({ + SpecialItemPosition position, + Widget item, +});