TrianglePainter constructor
TrianglePainter({})
Implementation
TrianglePainter(
{required this.color,
required this.position,
required this.size,
this.radius = 20,
this.isInverted = false,
required this.screenWidth}) {
_paint = Paint()
..style = PaintingStyle.fill
..color = color
..strokeWidth = 10
..isAntiAlias = true;
}