LiquidShellScopeData constructor

const LiquidShellScopeData({
  1. required LiquidSizeClass sizeClass,
  2. required LiquidChromeKind chromeKind,
  3. required EdgeInsets chromeInsets,
  4. required bool sidebarVisible,
  5. required ValueSetter<bool> setSidebarVisible,
  6. bool nativeChrome = false,
  7. LiquidWindowControls windowControls = LiquidWindowControls.zero,
  8. LiquidSearchPhase? searchPhase,
  9. bool nativePageBar = false,
  10. bool nativeSearchScopes = false,
  11. List<String>? searchScopes,
})

Creates scope data.

Implementation

const LiquidShellScopeData({
  required this.sizeClass,
  required this.chromeKind,
  required this.chromeInsets,
  required this.sidebarVisible,
  required this.setSidebarVisible,
  this.nativeChrome = false,
  this.windowControls = LiquidWindowControls.zero,
  this.searchPhase,
  this.nativePageBar = false,
  this.nativeSearchScopes = false,
  this.searchScopes,
});