CreateConfiguration constructor

const CreateConfiguration({
  1. int windowWidth = 1280,
  2. int windowHeight = 720,
  3. int windowPosX = 0,
  4. int windowPosY = 0,
  5. String title = "",
  6. int titleBarHeight = 40,
  7. int titleBarTopPadding = 0,
  8. String userDataFolderWindows = 'webview_window_WebView2',
  9. bool useWindowPositionAndSize = false,
  10. bool openMaximized = false,
})

Implementation

const CreateConfiguration({
  this.windowWidth = 1280,
  this.windowHeight = 720,
  this.windowPosX = 0,
  this.windowPosY = 0,
  this.title = "",
  this.titleBarHeight = 40,
  this.titleBarTopPadding = 0,
  this.userDataFolderWindows = 'webview_window_WebView2',
  this.useWindowPositionAndSize = false,
  this.openMaximized = false,
});