1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-29 02:11:37 +01:00
nc-photos/lib/k.dart

33 lines
891 B
Dart
Raw Normal View History

2021-04-10 12:28:12 +08:00
/// Version string shown in settings page
2021-12-08 02:51:33 +08:00
const versionStr = "34.0-c87ff5";
const version = 340;
2021-04-10 12:28:12 +08:00
/// Show a snack bar for a short amount of time
2021-09-15 14:58:06 +08:00
const snackBarDurationShort = Duration(seconds: 4);
2021-04-10 12:28:12 +08:00
/// Show a snack bar for a normal amount of time
2021-09-15 14:58:06 +08:00
const snackBarDurationNormal = Duration(seconds: 7);
2021-04-10 12:28:12 +08:00
/// Duration for short animation
2021-09-15 14:58:06 +08:00
const animationDurationShort = Duration(milliseconds: 100);
2021-04-10 12:28:12 +08:00
/// Duration for normal animation
2021-09-15 14:58:06 +08:00
const animationDurationNormal = Duration(milliseconds: 250);
2021-04-10 12:28:12 +08:00
/// Duration for long animation
2021-09-15 14:58:06 +08:00
const animationDurationLong = Duration(milliseconds: 500);
2021-09-16 18:25:08 +08: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;