You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
326 B
14 lines
326 B
|
|
enum BraceletBrand {
|
|
aqg(1, '爱牵挂','assets/bracelet/x5.png');
|
|
|
|
final int typeNum;
|
|
final String name;
|
|
final String imgPath;
|
|
|
|
static BraceletBrand getValue(int value) =>
|
|
BraceletBrand.values.firstWhere((element) => element.typeNum == value);
|
|
|
|
const BraceletBrand(this.typeNum, this.name,this.imgPath);
|
|
}
|