We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711000a commit 2277ec5Copy full SHA for 2277ec5
example/lib/customs/pickers/directory_file_asset_picker.dart
@@ -585,7 +585,7 @@ class FileAssetPickerBuilder
585
appBarPreferredSize ??= appBar(context).preferredSize;
586
int totalCount = provider.currentAssets.length;
587
if (specialItems.isNotEmpty) {
588
- totalCount += 1;
+ totalCount += specialItems.length;
589
}
590
final int placeholderCount;
591
if (isAppleOS(context) && totalCount % gridCount != 0) {
0 commit comments