dreampad/lib/app/shared/constants/constants.dart
2023-11-28 10:45:09 +08:00

43 lines
1.3 KiB
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:flutter/foundation.dart';
export 'colors.dart';
export 'gaps.dart';
export 'styles.dart';
export 'images.dart';
class Constant {
/// App运行在Release环境时inProduction为true当App运行在Debug和Profile环境时inProduction为false
static const bool inProduction = kReleaseMode;
static bool isDriverTest = false;
static bool isUnitTest = false;
static const String keyGuide = 'keyGuide';
static const String theme = 'AppTheme';
static const String locale = 'locale';
static const String data = 'data';
static const String message = 'message';
static const String code = 'code';
static const String account = 'account';
static const String password = 'password';
static const String accessToken = 'accessToken';
static const String refreshToken = 'refreshToken';
static const String expiresIn = 'expiresIn';
static const String tokenDateTime = 'tokenDateTime';
static const String avatarUrl = 'avatarUrl';
static const String userId = 'userId';
static const String imgDir = 'image';
static const String dbDir = 'db';
static const String create = 'create';
static const String gender = 'gender';
static const String age = 'age';
static const String occupationId = 'occupationId';
static const String occupationName = 'occupationName';
}