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 = {
2024-03-22 17:26:57 +08:00
InventoryInOrOutEnum.In: 0,
InventoryInOrOutEnum.Out: 1,
2024-03-21 16:22:00 +08:00
};