枚举用于定义命名常量值。使用`enum` 关键字声明枚举类型。 ## 语法```dart enum enum_name { enumeration list } ``` * `enum_name` 指定枚举类型名称* `enumeration ...
確定! 回上一頁