WindowConfig constructor
WindowConfig({})
we need this for update, so must wihtout default value
Implementation
WindowConfig({
this.id = "default",
this.entry = "main",
this.route,
this.callback,
this.autosize,
this.width,
this.height,
this.x,
this.y,
this.format,
this.gravity,
this.type,
this.clickable,
this.draggable,
this.focusable,
this.immersion,
this.visible,
}) : assert(
callback == null ||
PluginUtilities.getCallbackHandle(callback) != null,
"callback is not a static function");