SdlxMessageBoxData constructor

SdlxMessageBoxData({
  1. int flags = 0,
  2. Pointer<SdlWindow>? window,
  3. String title = '',
  4. String message = '',
  5. List<SdlxMessageBoxButtonData>? buttons,
  6. SdlxMessageBoxColorScheme? colorScheme,
})

Implementation

SdlxMessageBoxData({
  this.flags = 0,
  Pointer<SdlWindow>? window,
  this.title = '',
  this.message = '',
  List<SdlxMessageBoxButtonData>? buttons,
  this.colorScheme,
}) {
  this.window = window ?? nullptr;
  this.buttons = buttons ?? [];
  selectedButtonId = 0;
}