ArcShape<T> class

Provides touchable arc shape.

Inheritance

Constructors

ArcShape({required Offset center, required double innerRadius, required double outerRadius, required double startAngle, required double sweepAngle, required T data})

Properties

center Offset
The center of arc.
final
data → T
The data of T.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
innerRadius double
The inner radius of arc.
final
outerRadius double
The outer radius of arc.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAngle double
The start angle of arc.
final
sweepAngle double
The sweep angel of arc.
final

Methods

isHit(Offset offset) bool
Check arc bas been clicked.
override
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

Constants

twoPi → const double