RhombusPainter constructor

RhombusPainter({
  1. required Color color,
})

Creates a RhombusPainter with the given color.

Implementation

RhombusPainter({required this.color});