Skip to content

Commit 20e629d

Browse files
committed
♻️ Make findChildIndexBuilder returns int?
1 parent 9b5291e commit 20e629d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/delegates/asset_picker_builder_delegate.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ abstract class AssetPickerBuilderDelegate<A, P> {
306306

307307
/// Indicates how would the grid found a reusable [RenderObject] through [id].
308308
/// 为 Grid 布局指示如何找到可复用的 [RenderObject]
309-
int findChildIndexBuilder(String id, List<A> currentAssets);
309+
int? findChildIndexBuilder(String id, List<A> currentAssets) => null;
310310

311311
/// The function which return items count for the assets' grid.
312312
/// 为资源列表提供内容数量计算的方法

0 commit comments

Comments
 (0)