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; }