DrawRectCommand constructor

DrawRectCommand(
  1. Rect rect,
  2. Paint paint
)

Implementation

DrawRectCommand(this.rect, this.paint);