debugFillProperties method
👨💻 Adds width
and height
to existing Icon props.
Implementation
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DoubleProperty('width', sizeX, defaultValue: null));
properties.add(DoubleProperty('height', sizeY, defaultValue: null));
}