GIcon constructor
Creates a new instance of GIcon
with the specified IconData
, color,
and size.
Implementation
GIcon(
widgets.IconData data, [
ui.Color color = kColorWhite,
double size = 24.0,
]) {
_data = data;
_color = color;
this.size = size;
_updateStyle();
}