DrawRect constructor

const DrawRect({
  1. Key? key,
  2. required Color strokeColor,
  3. required double strokeWidth,
  4. BorderRadiusGeometry? borderRadius,
  5. Color? fillColor,
  6. Gradient? fillGradient,
  7. Gradient? strokeGradient,
  8. TooltipSpec? tooltipSpec,
  9. LabelSpec? labelSpec,
})

Implementation

const DrawRect({
  super.key,
  required this.strokeColor,
  required this.strokeWidth,
  this.borderRadius,
  this.fillColor,
  this.fillGradient,
  this.strokeGradient,
  this.tooltipSpec,
  this.labelSpec,
});