TrafficOption class

交通配置

Annotations

Constructors

TrafficOption({required bool show, Color goodColor = Colors.green, Color badColor = Colors.yellow, Color terribleColor = Colors.red, Color unknownColor = Colors.blue})

Properties

badColor Color
缓行路段颜色
final
goodColor Color
通畅路段颜色
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
是否显示
final
terribleColor Color
拥堵路段颜色
final
unknownColor Color
未知路段颜色
final

Methods

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

Operators

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