RadarDimension class

维度定义(每条轴) name 轴名称 max 该维最大值(用于归一化) titleStyle 名称样式 scoreStyle 分数样式(显示分数时) labelBgColor 徽章背景色

Constructors

RadarDimension.new({required String name, required double max, TextStyle titleStyle = const TextStyle(fontSize: 12, color: Colors.black87), TextStyle scoreStyle = const TextStyle(fontSize: 12, color: Colors.black), Color? labelBgColor})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
labelBgColor Color?
final
max double
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scoreStyle TextStyle
final
titleStyle TextStyle
final

Methods

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

Operators

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