CanvasRect constructor

CanvasRect(
  1. Rectangle<int> bounds, {
  2. List<int>? dashPattern,
  3. Color? fill,
  4. FillPatternType? pattern,
  5. Color? stroke,
  6. double? strokeWidthPx,
})

Implementation

CanvasRect(this.bounds,
    {this.dashPattern,
    this.fill,
    this.pattern,
    this.stroke,
    this.strokeWidthPx});