AxisLabel class Null safety

Holds the axis label information.

Axis Label used by the user-specified or by default to make the label for both x and y-axis.

Provides options for label style, label size, text, and value to customize the appearance.


AxisLabel(TextStyle labelStyle, Size labelSize, String text, num value, String? trimmedText, String? renderText)
Creating an argument constructor of AxisLabel class.


hashCode int
The hash code for this object. [...]
read-only, inherited
labelSize Size
Hold the size of the label.
read / write
labelStyle TextStyle
Specifies the label text style. [...]
read / write
renderText String?
Contains the label text to be rendered.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Contains the text of the label.
read / write
trimmedText String?
Contains the trimmed text of the label.
read / write
value num
Holds the value of the visible range of the axis.
read / write


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


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