Files
valuecards/lib/utils/constants.dart
T
2026-09-18 00:01:42 +02:00

27 lines
854 B
Dart

/// Shared string keys, timings, and layout breakpoints used across the app.
library;
/// Human-readable name shown in the splash screen and brand chrome.
const String kAppName = 'Values Sort';
/// Package / Android application id.
const String kPackageName = 'com.example.myapp';
/// How long the splash screen stays visible before navigating onward.
const Duration kSplashDuration = Duration(milliseconds: 1400);
/// SharedPreferences keys.
abstract final class StorageKeys {
static const themeMode = 'theme_mode';
static const sortSession = 'values_sort_session_v1';
}
/// Width thresholds used to adapt padding and card density.
abstract final class Breakpoints {
static const compact = 600.0;
static const medium = 840.0;
}
/// Maximum content width on tablets so reflective flows stay readable.
const double kMaxContentWidth = 600.0;