debugFillProperties method

  1. @override
void debugFillProperties (DiagnosticPropertiesBuilder properties)

Implementation

@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  super.debugFillProperties(properties);
  properties.add(new DiagnosticsProperty<Widget>('icon', icon, showName: false));
  properties.add(new ObjectFlagProperty<VoidCallback>('onPressed', onPressed, ifNull: 'disabled'));
  properties.add(new StringProperty('tooltip', tooltip, defaultValue: null, quoted: false));
}