WheelLabelStyle class

Configuration for the segment labels' appearance and orientation.

Constructors

WheelLabelStyle({TextStyle? labelStyle, double angle = 0.0, TextOverflow overflow = TextOverflow.clip, int? maxLines = 1})
Creates a WheelLabelStyle.
const

Properties

angle → double
The additional rotation angle for the label text in radians.
final
hashCode → int
The hash code for this object.
no setteroverride
labelStyle → TextStyle?
The text style for the label.
final
maxLines → int?
An optional maximum number of lines for the text to span, wrapping if necessary.
final
overflow → TextOverflow
How visual overflow should be handled.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({TextStyle? labelStyle, double? angle, TextOverflow? overflow, int? maxLines}) → WheelLabelStyle
Creates a copy of this style with the given fields replaced.
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