2021-04-10 06:28:12 +02:00
|
|
|
/// Version string shown in settings page
|
2023-01-01 09:59:10 +01:00
|
|
|
const versionStr = "56.0";
|
|
|
|
const version = 560;
|
2021-04-10 06:28:12 +02:00
|
|
|
|
|
|
|
/// Show a snack bar for a short amount of time
|
2021-09-15 08:58:06 +02:00
|
|
|
const snackBarDurationShort = Duration(seconds: 4);
|
2021-04-10 06:28:12 +02:00
|
|
|
|
|
|
|
/// Show a snack bar for a normal amount of time
|
2021-09-15 08:58:06 +02:00
|
|
|
const snackBarDurationNormal = Duration(seconds: 7);
|
2021-04-10 06:28:12 +02:00
|
|
|
|
|
|
|
/// Duration for short animation
|
2021-09-15 08:58:06 +02:00
|
|
|
const animationDurationShort = Duration(milliseconds: 100);
|
2021-04-10 06:28:12 +02:00
|
|
|
|
|
|
|
/// Duration for normal animation
|
2021-09-15 08:58:06 +02:00
|
|
|
const animationDurationNormal = Duration(milliseconds: 250);
|
2021-04-10 06:28:12 +02:00
|
|
|
|
|
|
|
/// Duration for long animation
|
2021-09-15 08:58:06 +02:00
|
|
|
const animationDurationLong = Duration(milliseconds: 500);
|
2021-09-16 12:25:08 +02:00
|
|
|
|
2022-01-24 11:05:35 +01:00
|
|
|
/// Duration for tab transition animation
|
2022-11-12 10:57:38 +01:00
|
|
|
const animationDurationTabTransition = Duration(milliseconds: 300);
|
2022-09-07 11:37:50 +02:00
|
|
|
|
|
|
|
const heroDurationNormal = Duration(milliseconds: 450);
|
2022-01-24 11:05:35 +01:00
|
|
|
|
2021-09-16 12:25:08 +02:00
|
|
|
/// Size of the photo/video thumbnails
|
|
|
|
///
|
|
|
|
/// It's advisable to use a single size to minimize cache size
|
|
|
|
const photoThumbSize = 256;
|
|
|
|
|
|
|
|
/// Size of the face thumbnails
|
|
|
|
const faceThumbSize = 192;
|
|
|
|
|
|
|
|
/// Size of the opened photos
|
|
|
|
const photoLargeSize = 1080;
|
|
|
|
|
|
|
|
/// Size of the cover photos
|
|
|
|
const coverSize = 512;
|
2022-03-15 10:28:03 +01:00
|
|
|
|
|
|
|
/// AppDb lock ID
|
|
|
|
const appDbLockId = 1;
|