getColor method

  1. @override
Color getColor({
  1. bool stroke = false,
  2. bool backgroundStroke = false,
})
override

Implementation

@override
Color getColor({bool stroke = false, bool backgroundStroke = false}) {
  if (stroke || backgroundStroke) {
    return getStrokeColor(background: backgroundStroke);
  } else {
    return getFillColor();
  }
}