ShapeMaker class Null safety

Draw different marker shapes by using height and width

Constructors

ShapeMaker()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

drawCircle(Path path, double x, double y, double width, double height) → void
Draw the circle shape marker
drawDiamond(Path path, double x, double y, double width, double height) → void
Draw the Diamond shape marker
drawHorizontalLine(Path path, double x, double y, double width, double height) → void
Draw the Horizontal line shape marker
drawInvertedTriangle(Path path, double x, double y, double width, double height) → void
Draw the Inverted Triangle shape marker
drawPentagon(Path path, double x, double y, double width, double height) → void
Draw the Pentagon shape marker
drawRectangle(Path path, double x, double y, double width, double height) → void
Draw the Rectangle shape marker
drawTriangle(Path path, double x, double y, double width, double height) → void
Draw the Triangle shape marker
drawVerticalLine(Path path, double x, double y, double width, double height) → void
Draw the Vertical line shape marker