setStyle method
void
setStyle({
- Color? fillColor,
- List<
Color> ? fillColors, - Color? strokeColor,
- List<
Color> ? strokeColors, - double? strokeWidth,
- Color? backgroundStrokeColor,
- List<
Color> ? backgroundStrokeColors, - double? backgroundStrokeWidth,
- 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));
}