onIconChange property

void Function(String icon)? onIconChange
getter/setter pair

Function that is called when the program requests the terminal to change the icon of the window. icon is the name of the icon.

Implementation

void Function(String icon)? onIconChange;