MetalAttr class

徽章属性

Constructors

MetalAttr({String url = '', String backcolor = '', String fontcolor = '', double scale = 0.79, double ver = 0.1})
MetalAttr.from(Map<String, dynamic>? attr)

Properties

backcolor ↔ String
背景色
getter/setter pair
fontcolor ↔ String
文字颜色
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale ↔ double
缩放
getter/setter pair
url ↔ String
徽标图地址
getter/setter pair
ver ↔ double
版本号
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited