FlDotCirclePainter class
This class is an implementation of a FlDotPainter that draws a circled shape
- Inheritance
-
- Object
- FlDotPainter
- FlDotCirclePainter
Constructors
- FlDotCirclePainter({Color? color, double? radius, Color? strokeColor, double? strokeWidth})
-
The color of the circle is determined determined by
color
,radius
determines the radius of the circle. You can have a stroke line around the circle, by setting the thickness withstrokeWidth
, and you can change the color of of the stroke withstrokeColor
.
Properties
- color ↔ Color
-
The fill color to use for the circle
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setter - radius ↔ double
-
Customizes the radius of the circle
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - strokeColor ↔ Color
-
The stroke color to use for the circle
getter/setter pair
- strokeWidth ↔ double
-
The stroke width to use for the circle
getter/setter pair
Methods
-
draw(
Canvas canvas, FlSpot spot, Offset offsetInCanvas) → void -
Implementation of the parent class to draw the circle
override
-
getSize(
FlSpot spot) → Size -
Implementation of the parent class to get the size of the circle
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.
inherited