TriangleUpPainter constructor
TriangleUpPainter(
- Color color
Implementation
TriangleUpPainter(Color color) {
_paint = Paint()
..strokeWidth = 1.0 //线宽
..color = color
..isAntiAlias = true;
_path = Path();
}