ArcTextPainter class

Constructors

ArcTextPainter({required num radius, required String text, TextStyle? textStyle, StartAngleAlignment alignment = StartAngleAlignment.start, double initialAngle = 0, Direction direction = Direction.clockwise, Placement placement = Placement.outside, double? stretchAngle, double? interLetterAngle})

Properties

direction Direction
final
finalAngle double
Returns final angle at which the text stops.
no setter
hashCode int
The hash code for this object.
no setterinherited
radius double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAngle double
Returns angle from which the text rendering starts.
no setter
sweepAngle double
Returns angle where the text rendering stops.
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size, {Offset? offset}) → void
Call this method whenever the text needs to be repainted.
toString() String
A string representation of this object.
inherited

Operators

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