displayIndex property

int displayIndex

Get the index of the display this window is associated with.

SDL Docs

Implementation

int get displayIndex =>
    sdl.checkReturnValue(sdl.sdl.SDL_GetWindowDisplayIndex(handle));