BasicCustomPainter constructor

const BasicCustomPainter({
  1. Key? key,
  2. required Color topLeftColor,
  3. required Color topRightColor,
  4. required Color bottomLeftColor,
  5. required Color bottomRightColor,
  6. String? semanticLabel,
})

Implementation

const BasicCustomPainter({
  super.key,
  required this.topLeftColor,
  required this.topRightColor,
  required this.bottomLeftColor,
  required this.bottomRightColor,
  this.semanticLabel,
});