Rectangle constructor

const Rectangle({
  1. double spreadRadius = 0,
})

Creates a new rectangle shape instance.

Implementation

const Rectangle({
  this.spreadRadius = 0,
});