DrawRhombus constructor

DrawRhombus({
  1. Color backgroundColor = Colors.black,
  2. bool with3DEffect = false,
})

Implementation

DrawRhombus(
    {this.backgroundColor = Colors.black, this.with3DEffect = false}) {
  painter = Paint()
    ..color = this.backgroundColor
    ..style = PaintingStyle.fill;
}