getIcon method

IconData getIcon()

Returns the icon of the matched Icon via Widget.toDiagnosticsNode

Implementation

IconData getIcon() {
  return getDiagnosticProp<IconData>('icon');
}