mobile_skt/lib/constants/enum.dart

14 lines
318 B
Dart
Raw Normal View History

enum BackActionEnum {
refresh,
}
enum LoginEnum { apple, fastLogin }
2024-03-21 16:22:00 +08:00
enum InventoryInOrOutEnum { In, Out }
// 创建一个映射,将 InventoryInOrOutEnum 值与整数关联起来
const Map<InventoryInOrOutEnum, int> InventoryInOrOutEnumValues = {
InventoryInOrOutEnum.In: 1,
InventoryInOrOutEnum.Out: 2,
};