DiamondShape constructor

DiamondShape({
  1. required Widget child,
  2. Color background = Colors.white,
  3. double size = 50,
})

Implementation

DiamondShape(
    {required this.child, this.background = Colors.white, this.size = 50});