RenderBasicCustomPainter constructor

RenderBasicCustomPainter({
  1. String? semanticLabel,
  2. required Color topLeftColor,
  3. required Color topRightColor,
  4. required Color bottomLeftColor,
  5. required Color bottomRightColor,
})

Implementation

RenderBasicCustomPainter({
  String? semanticLabel,
  required Color topLeftColor,
  required Color topRightColor,
  required Color bottomLeftColor,
  required Color bottomRightColor,
}) : _semanticLabel = semanticLabel,
     _topLeftColor = topLeftColor,
     _topRightColor = topRightColor,
     _bottomLeftColor = bottomLeftColor,
     _bottomRightColor = bottomRightColor;