44 lines
1.4 KiB
Dart
44 lines
1.4 KiB
Dart
import 'package:flutter/material.dart';
|
||
|
||
class AppConstants {
|
||
AppConstants._();
|
||
|
||
static const String appName = 'VoIdea';
|
||
static const String apiBaseUrl = String.fromEnvironment(
|
||
'API_BASE_URL',
|
||
defaultValue: 'https://voidea.app/api/v1',
|
||
);
|
||
static const Duration connectTimeout = Duration(seconds: 15);
|
||
static const Duration receiveTimeout = Duration(seconds: 15);
|
||
static const int maxVoiceDurationSeconds = 300;
|
||
static const int maxVoiceMessagesPerMinute = 10;
|
||
static const int tokenRefreshBufferMinutes = 5;
|
||
static const String supportEmail = 'support@voidea.app';
|
||
static const String onboardingSeenKey = 'onboarding_seen';
|
||
|
||
static const String demoEmail = 'demo@voidea.app';
|
||
static const String demoPassword = 'demo1234';
|
||
|
||
static const List<String> funnelStates = [
|
||
'raw', 'validated', 'backlog', 'in_progress', 'launched', 'retrospective',
|
||
];
|
||
|
||
static const Map<String, Color> funnelColors = {
|
||
'raw': Color(0xFF9CA3AF),
|
||
'validated': Color(0xFF60A5FA),
|
||
'backlog': Color(0xFFA78BFA),
|
||
'in_progress': Color(0xFFF59E0B),
|
||
'launched': Color(0xFF34D399),
|
||
'retrospective': Color(0xFF6B7280),
|
||
};
|
||
|
||
static const Map<String, String> funnelLabels = {
|
||
'raw': 'Сырая',
|
||
'validated': 'Подтверждена',
|
||
'backlog': 'Бэклог',
|
||
'in_progress': 'В работе',
|
||
'launched': 'Запущена',
|
||
'retrospective': 'Ретроспектива',
|
||
};
|
||
}
|