dispose method
Called when this GText instance is no longer needed and should be disposed of. This method also clears the Signals.
Implementation
@override
void dispose() {
super.dispose();
painting.PaintingBinding.instance.systemFonts.removeListener(_fontLoaded);
_onFontLoaded?.removeAll();
_onFontLoaded = null;
}