mirror of
https://github.com/Dvorinka/1356.git
synced 2026-06-03 19:42:57 +00:00
37ffb93923
Version: 1.1.0 Major changes: - Implemented complete Flutter app structure with all core features - Added comprehensive UI screens for auth, countdown, goals, profile, settings, and social features - Integrated Supabase backend with authentication and data repositories - Added offline support with Hive caching and local storage - Implemented comprehensive routing with go_router - Added location services with Google Maps integration - Implemented notifications and home widget support - Added voice recording capabilities and AI chat features - Created comprehensive test suite and documentation - Added Android and iOS platform configurations - Implemented achievements system and social features - Added calendar integration and bucket list functionality This represents a complete Phase 1 milestone with 3,775 additions across 31 files.
71 lines
1.8 KiB
Dart
71 lines
1.8 KiB
Dart
class Env {
|
|
static const String supabaseUrl = String.fromEnvironment(
|
|
'SUPABASE_URL',
|
|
defaultValue: 'https://your-project.supabase.co',
|
|
);
|
|
|
|
static const String supabaseAnonKey = String.fromEnvironment(
|
|
'SUPABASE_ANON_KEY',
|
|
defaultValue: 'your-anon-key',
|
|
);
|
|
|
|
static const String unsplashAccessKey = String.fromEnvironment(
|
|
'UNSPLASH_ACCESS_KEY',
|
|
defaultValue: 'your-unsplash-access-key',
|
|
);
|
|
|
|
static const String unsplashSecretKey = String.fromEnvironment(
|
|
'UNSPLASH_SECRET_KEY',
|
|
defaultValue: '',
|
|
);
|
|
|
|
static const String unsplashMode = String.fromEnvironment(
|
|
'UNSPLASH_MODE',
|
|
defaultValue: 'TRUE',
|
|
);
|
|
|
|
static const String pexelsApiKey = String.fromEnvironment(
|
|
'PEXELS_API_KEY',
|
|
defaultValue: 'your-pexels-api-key',
|
|
);
|
|
|
|
static const String pexelsMode = String.fromEnvironment(
|
|
'PEXELS_MODE',
|
|
defaultValue: 'TRUE',
|
|
);
|
|
|
|
static const String mistralApiKey = String.fromEnvironment(
|
|
'MISTRAL_API_KEY',
|
|
defaultValue: 'your-mistral-api-key',
|
|
);
|
|
|
|
static const String mistralChatModel = String.fromEnvironment(
|
|
'MISTRAL_CHAT_MODEL',
|
|
defaultValue: 'ministral-14b-latest',
|
|
);
|
|
|
|
static const String mistralVoiceModel = String.fromEnvironment(
|
|
'MISTRAL_VOICE_MODEL',
|
|
defaultValue: 'voxtral-mini-latest',
|
|
);
|
|
|
|
static const String iosAppGroupId = String.fromEnvironment(
|
|
'IOS_APP_GROUP_ID',
|
|
defaultValue: '',
|
|
);
|
|
|
|
static bool get unsplashEnabled =>
|
|
unsplashMode.toUpperCase() == 'TRUE' &&
|
|
unsplashAccessKey.isNotEmpty &&
|
|
unsplashAccessKey != 'your-unsplash-access-key';
|
|
|
|
static bool get pexelsEnabled =>
|
|
pexelsMode.toUpperCase() == 'TRUE' &&
|
|
pexelsApiKey.isNotEmpty &&
|
|
pexelsApiKey != 'your-pexels-api-key';
|
|
|
|
static bool get mistralEnabled =>
|
|
mistralApiKey.isNotEmpty &&
|
|
mistralApiKey != 'your-mistral-api-key';
|
|
}
|