RhombusWidget constructor

RhombusWidget({
  1. required double width,
  2. required double height,
  3. required Color color,
})

Creates a RhombusWidget with the given width, height, and color.

Implementation

RhombusWidget({required this.width, required this.height, required this.color});