SelectionLabelStyle class

a style for rendering a selection label

Constructors

SelectionLabelStyle({LabelFunction? leftYAxisLabelProvider, LabelFunction? rightYAxisLabelProvider, LabelFunction? xAxisLabelProvider, required TextStyle textStyle, required Color borderColor})

Properties

borderColor Color
the border line color
final
borderSize double
the width of the border line
final
hashCode int
The hash code for this object.
no setteroverride
leftYAxisLabelProvider LabelFunction?
the function that provides a text label from a data point value for data points that have YAxisDependency.LEFT
final
rightYAxisLabelProvider LabelFunction?
the function that provides a text label from a data point value for data points that have YAxisDependency.RIGHT
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle
the text style of the selection label
final
xAxisLabelProvider LabelFunction?
the function that provides a text label from a data point value for the x axis
final

Methods

copyRemoving({dynamic leftAxisLabel = false, dynamic rightAxisLabel = false, dynamic xAxisLabel = false}) SelectionLabelStyle
provides a copy of the style removing the specified elements
copyWith({LabelFunction? leftYAxisLabelProvider, LabelFunction? rightYAxisLabelProvider, LabelFunction? xAxisLabelProvider, TextStyle? textStyle, Color? borderColor}) SelectionLabelStyle
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.
override