ShapeOutline.rect constructor

const ShapeOutline.rect({
  1. bool cornerRadius = true,
})

A rectangle, rounded by the style's corner radius when cornerRadius.

Implementation

const ShapeOutline.rect({this.cornerRadius = true})
  : _kind = _ShapeOutlineKind.rect,
    _path = null,
    valueKey = null;