displayWidth property

int get displayWidth

The display width of the window/canvas (CSS layout size on web, same as width on SDL3).

Implementation

int get displayWidth => _windowBackend.displayWidth;