RectElement constructor

RectElement(
  1. double width,
  2. double height,
  3. Paint _paint
)

Implementation

RectElement(double width, double height, this._paint)
    : _rect = Rect.fromLTWH(0, 0, width, height);