chore(format): dart format

This commit is contained in:
shenlong-tanwen
2024-02-23 22:27:32 +05:30
committed by Zack Pollard
parent 8b79b31ae5
commit 76abdc3c82
3 changed files with 5 additions and 2 deletions
@@ -137,6 +137,7 @@ class GalleryViewerPage extends HookConsumerWidget {
// swallow error silently
debugPrint('Error precaching next image: $exception, $stackTrace');
}
if (index < totalAssets.value && index >= 0) {
final asset = loadAsset(index);
precacheImage(
@@ -7,7 +7,6 @@ import 'package:isar/isar.dart';
/// Shows the thumbnail images in the asset grid view
class ThumbnailImage extends StatelessWidget {
/// The asset to show the thumbnail image for
final Asset asset;
+4 -1
View File
@@ -180,7 +180,10 @@ class MapPage extends HookConsumerWidget {
}
// Since we only have a single asset, we can just show GroupAssetBy.none
final renderList = await RenderList.fromAssets([asset], GroupAssetsBy.none,);
final renderList = await RenderList.fromAssets(
[asset],
GroupAssetsBy.none,
);
context.pushRoute(
GalleryViewerRoute(