Skip to content

DockManager

Category: UI

Source: dock_manager.dart

Classes

DockInsets

Constructor

dart
const DockInsets({
    this.left = 0,
    this.top = 0,
    this.right = 0,
    this.bottom = 0,
  })

Properties

PropertyTypeDescription
leftint
topint
rightint
bottomint

DockViewport

Constructor

dart
const DockViewport({
    required this.outputTop,
    required this.outputBottom,
    required this.outputLeft,
    required this.outputRight,
    required this.overlayTop,
  })

Properties

PropertyTypeDescription
outputTopint
outputBottomint
outputLeftint
outputRightint
overlayTopint
outputWidthint get
outputHeightint get
outputWidthint get
outputHeightint get

DockRect

Constructor

dart
const DockRect({
    required this.row,
    required this.col,
    required this.width,
    required this.height,
  })

Properties

PropertyTypeDescription
rowint
colint
widthint
heightint

DockRenderPlan

Constructor

dart
const DockRenderPlan({
    required this.panel,
    required this.rect,
    required this.lines,
  })

Properties

PropertyTypeDescription
panelDockedPanel
rectDockRect
linesList<String>

DockManager

Properties

PropertyTypeDescription
panelsList<DockedPanel> get
visiblePanelsList<DockedPanel> get
hasVisibleFloatingPanelsbool get
panelsList<DockedPanel> get
visiblePanelsList<DockedPanel> get
hasVisibleFloatingPanelsbool get

Methods

void add(DockedPanel panel)
void remove(DockedPanel panel)
`DockInsets resolveInsets({
required int terminalColumns,
required int terminalRows,

})`

`List<DockRenderPlan> buildRenderPlans({
required DockViewport viewport,
required int terminalColumns,

})`

bool handleEvent(TerminalEvent event)

Released under the MIT License.