MultiLevelLabelStyle class Null safety

Customize the multi-level label’s border color, width, type, and text style such as color, font size, etc.

When the multi-level label’s width exceeds its respective segment, then the label will get trimmed and on tapping / hovering over the trimmed label, a tooltip will be shown.

Also refer multiLevelLabelFormatter.

Constructors

MultiLevelLabelStyle({TextStyle? textStyle = const TextStyle(fontSize: 12.0, fontStyle: FontStyle.normal, fontWeight: FontWeight.normal, fontFamily: 'Normal'), double borderWidth = 0, Color? borderColor, MultiLevelBorderType borderType = MultiLevelBorderType.rectangle})
Creating an argument constructor of MultiLevelLabelStyle class.
const

Properties

borderColor Color?
Specifies the border color of multi-level labels. [...]
final
borderType MultiLevelBorderType
Specifies the border type of multi-level labels. [...]
final
borderWidth double
Specifies the border width of multi-level labels. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
textStyle TextStyle?
Specifies the text style of the multi-level labels. [...]
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