NiceConsole constructor

const NiceConsole({
  1. Key? key,
  2. List<NiceConsoleTab> tabs = const [],
  3. String? activeTabKey,
  4. void onTabClose(
    1. String key
    )?,
  5. void onTabChange(
    1. String key
    )?,
  6. List<NiceConsoleCommand> commandPalette = const [],
  7. void onCommand(
    1. String key
    )?,
  8. List<NiceConsoleStatusItem> statusItems = const [],
  9. Widget? sidePanel,
  10. double sidePanelWidth = 240,
  11. bool sidePanelCollapsed = false,
  12. Widget? bottomPanel,
  13. double bottomPanelHeight = 200,
  14. bool bottomPanelCollapsed = true,
  15. NiceConsoleTheme consoleTheme = NiceConsoleTheme.dark,
  16. VoidCallback? onSidePanelToggle,
  17. VoidCallback? onBottomPanelToggle,
})

Implementation

const NiceConsole({
  super.key,
  this.tabs = const [],
  this.activeTabKey,
  this.onTabClose,
  this.onTabChange,
  this.commandPalette = const [],
  this.onCommand,
  this.statusItems = const [],
  this.sidePanel,
  this.sidePanelWidth = 240,
  this.sidePanelCollapsed = false,
  this.bottomPanel,
  this.bottomPanelHeight = 200,
  this.bottomPanelCollapsed = true,
  this.consoleTheme = NiceConsoleTheme.dark,
  this.onSidePanelToggle,
  this.onBottomPanelToggle,
});