setStyle method

  1. @override
void setStyle({
  1. Color? fillColor,
  2. List<Color>? fillColors,
  3. Color? strokeColor,
  4. List<Color>? strokeColors,
  5. double? strokeWidth,
  6. Color? backgroundStrokeColor,
  7. List<Color>? backgroundStrokeColors,
  8. double? backgroundStrokeWidth,
  9. bool family = true,
})
override

Implementation

@override
void setStyle(
    {Color? fillColor,
    List<Color>? fillColors,
    Color? strokeColor,
    List<Color>? strokeColors,
    double? strokeWidth,
    Color? backgroundStrokeColor,
    List<Color>? backgroundStrokeColors,
    double? backgroundStrokeWidth,
    bool family = true}) {
  super.setStyle(
      strokeColor: TRANSPARENT,
      strokeWidth: 0,
      fillColor: BLACK.withTransparency(fillColor?.a ?? getFillColor().a));
}