effectiveSize property
This returns the effective size, after viewport transformation. This is not the game widget size but for all intents and purposes, inside your game, this size should be used as the real one.
Implementation
@override
late Vector2 effectiveSize;