MultiLevelLabelRenderDetails class Null safety

Holds multi-level label text, name of the axis, index, actual level of the multi-level label, text style such as color, font size, etc arguments for multi-level label formatter callback.

The value in the index will be obtained as per the order of the labels specified in the multiLevelLabels property irrespective of the value specified in the level property.

The level obtained in the actualLevelproperty is the re-ordered level irrespective of the value specified in the level property.

Constructors

MultiLevelLabelRenderDetails(int actualLevel, String text, TextStyle textStyle, int index, String? axisName)
Creating an argument constructor of MultiLevelLabelRenderDetails class.

Properties

actualLevel int
Get the actual level of the multi-level label.
final
axisName String?
Get the axis name.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
index int
Get the index value of the multi-level label.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Get the multi-level label text.
final
textStyle TextStyle
Get the text style of the multi-level label.
final

Methods

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

Operators

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