2024-07-06 13:47:23 +08:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
2021-04-10 12:28:12 +08:00
|
|
|
/// Version string shown in settings page
|
2024-12-07 21:31:07 +08:00
|
|
|
const versionStr = "72.1";
|
|
|
|
const version = 721;
|
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
|
2024-07-06 13:47:23 +08:00
|
|
|
const animationDurationShort = Durations.short2;
|
2021-04-10 12:28:12 +08:00
|
|
|
|
|
|
|
/// Duration for normal animation
|
2024-07-06 13:47:23 +08:00
|
|
|
const animationDurationNormal = Durations.medium1;
|
2021-04-10 12:28:12 +08:00
|
|
|
|
|
|
|
/// Duration for long animation
|
2024-07-06 13:47:23 +08:00
|
|
|
const animationDurationLong = Durations.long2;
|
2021-09-16 18:25:08 +08:00
|
|
|
|
2022-01-24 18:05:35 +08:00
|
|
|
/// Duration for tab transition animation
|
2024-07-06 13:47:23 +08:00
|
|
|
const animationDurationTabTransition = Durations.medium2;
|
2022-09-07 17:37:50 +08:00
|
|
|
|
2024-07-06 13:47:23 +08:00
|
|
|
const heroDurationNormal = Durations.long1;
|
2022-01-24 18:05:35 +08:00
|
|
|
|
2024-07-06 13:47:23 +08:00
|
|
|
const settingsHighlightDuration = Durations.extralong2;
|
2023-07-23 13:08:30 +08:00
|
|
|
|
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;
|
2022-03-15 17:28:03 +08:00
|
|
|
|
|
|
|
/// AppDb lock ID
|
|
|
|
const appDbLockId = 1;
|