title property

String title

The title of this window.

SDL Docs

Implementation

String get title =>
    sdl.sdl.SDL_GetWindowTitle(handle).cast<Utf8>().toDartString();
void title=(String value)

Set the title of the window.

SDL Docs

Implementation

set title(final String value) {
  final ptr = value.toCharPointer();
  sdl.sdl.SDL_SetWindowTitle(handle, ptr);
  malloc.free(ptr);
}