getColor method

Color getColor()

Returns the color of the matched Icon via Widget.toDiagnosticsNode

Implementation

Color getColor() {
  return getDiagnosticProp<Color>('color');
}