NiceConsole constructor
const
NiceConsole({
- Key? key,
- List<
NiceConsoleTab> tabs = const [], - String? activeTabKey,
- void onTabClose(
- String key
- void onTabChange(
- String key
- List<
NiceConsoleCommand> commandPalette = const [], - void onCommand(
- String key
- List<
NiceConsoleStatusItem> statusItems = const [], - Widget? sidePanel,
- double sidePanelWidth = 240,
- bool sidePanelCollapsed = false,
- Widget? bottomPanel,
- double bottomPanelHeight = 200,
- bool bottomPanelCollapsed = true,
- NiceConsoleTheme consoleTheme = NiceConsoleTheme.dark,
- VoidCallback? onSidePanelToggle,
- 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,
});