背景色,格式为 RGB 定义下的 Hex 值,不要带 # 号,如 0xFFB6C1 表示浅粉色。默认0x000000,黑色。
-
Annotations
@JsonSerializable(explicitToJson: true)
Constructors
-
Color(int red, int green, int blue)
Constructs a Color
-
Color.fromJson(Map<String, dynamic> json)
factory
Properties
-
蓝。final
-
绿。final
-
The hash code for this object. [...]read-only, inherited
-
红。final
-
A representation of the runtime type of the object.read-only, inherited
Methods
-
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]inherited
-
Returns a string representation of this object.inherited
Operators
-
operator ==(Object other) → bool
The equality operator. [...]inherited