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