data property

IconData? data

Gets the IconData object that represents the icon to be displayed.

Implementation

widgets.IconData? get data {
  return _data;
}
void data=(IconData? value)

Sets the IconData object that represents the icon to be displayed.

Implementation

set data(widgets.IconData? value) {
  if (value == _data) {
    return;
  }
  _data = value;
  _invalidStyle = true;
  requiresRedraw();
}