Called internally when the icon has to be shown. returns a HTML element styled according to the options
external Element createIcon([Element? oldIcon]);