starwork_flutter/lib/base/app_flavor.dart

13 lines
276 B
Dart
Raw Permalink Normal View History

2025-08-28 10:39:07 +08:00
class AppFlavor {
static const String sky = 'sky';
static const String xhj = 'xhj';
static const String current = String.fromEnvironment(
'FLAVOR',
defaultValue: sky,
);
static bool get isSky => current == sky;
static bool get isXhj => current == xhj;
}