more refactors

This commit is contained in:
shenlong-tanwen
2024-10-20 16:50:34 +05:30
parent 7ea21d636f
commit 8f47645cdb
35 changed files with 399 additions and 83 deletions
+1 -2
View File
@@ -1,7 +1,5 @@
import 'package:flutter/material.dart';
const String kImmichAppName = "Immich";
/// Log messages stored in the DB
const int kLogMessageLimit = 500;
@@ -13,6 +11,7 @@ const String kCacheThumbnailsKey = 'ImThumbnailCacheKey';
const int kCacheMaxNrOfThumbnails = 500;
/// Grid constants
const double kGridAutoHideAppBarOffset = 30;
const int kGridThumbnailSize = 200;
const int kGridThumbnailQuality = 80;
@@ -9,3 +9,9 @@ class SizeConstants {
static const l = 32.0;
static const xl = 64.0;
}
class BodyRatioConstants {
const BodyRatioConstants._();
static const oneThird = 1 / 3;
}