nc-photos/lib/k.dart

36 lines
1,002 B
Dart
Raw Normal View History

2021-04-10 06:28:12 +02:00
/// Version string shown in settings page
2022-01-17 15:09:43 +01:00
const versionStr = "36.1-83c5c6";
const version = 361;
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
const animationDurationTabTransition = Duration(milliseconds: 400);
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;