mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-14 03:08:53 +01:00
46 lines
1.2 KiB
Dart
46 lines
1.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Version string shown in settings page
|
|
const versionStr = "72.2";
|
|
const version = 722;
|
|
|
|
/// Show a snack bar for a short amount of time
|
|
const snackBarDurationShort = Duration(seconds: 4);
|
|
|
|
/// Show a snack bar for a normal amount of time
|
|
const snackBarDurationNormal = Duration(seconds: 7);
|
|
|
|
/// Duration for short animation
|
|
const animationDurationShort = Durations.short2;
|
|
|
|
/// Duration for normal animation
|
|
const animationDurationNormal = Durations.medium1;
|
|
|
|
/// Duration for long animation
|
|
const animationDurationLong = Durations.long2;
|
|
|
|
/// Duration for tab transition animation
|
|
const animationDurationTabTransition = Durations.medium2;
|
|
|
|
const heroDurationNormal = Durations.long1;
|
|
|
|
const settingsHighlightDuration = Durations.extralong2;
|
|
|
|
/// 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;
|
|
|
|
/// AppDb lock ID
|
|
const appDbLockId = 1;
|
|
|
|
const privacyPolicyUrl = "https://nc-photos.web.app/privacy.html";
|