HeartPainter constructor

HeartPainter(
  1. Color? color
)

The color of the heart shape (optional). Constructor for the HeartPainter class.

Implementation

/// Constructor for the HeartPainter class.
HeartPainter(this.color);