HeartShape constructor
The color of the heart shape. Constructor for the HeartShape widget.
Implementation
/// Constructor for the HeartShape widget.
const HeartShape({
Key? key,
this.width = 100,
/// Default width of the heart shape.
this.height = 100,
/// Default height of the heart shape.
this.color = Colors.red,
/// Default color of the heart shape.
}) : super(key: key);