0 purchases
polygon painter
Polygon Painter #
This package provides a PolygonPainterStateless class that allows you to draw polygons with a customizable number of corners, start angle, stroke width, color, radius, painting style, and stroke join.
Getting Started #
To use this package, add polygon_painter as a dependency in your pubspec.yaml file.
Usage #
Here is a basic example of how to use the PolygonPainterStateless class:
SizedBox(
height: 300,
width: 300,
child: CustomPaint(
painter: PolygonPainter(
controller: controller, // PolygonPainterController
),
),
),
copied to clipboard
Additional Information #
For more information, check out the documentation
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.