DockLayout constructor

const DockLayout({
  1. Key? key,
  2. Widget? child,
  3. List<DockElement> elements = const [],
  4. bool leftPane = true,
  5. bool topPane = true,
  6. bool rightPane = true,
  7. bool bottomPane = true,
  8. DockToolbar leftPaneToolbar = const DockToolbar(),
  9. DockToolbar topPaneToolbar = const DockToolbar(),
  10. DockToolbar rightPaneToolbar = const DockToolbar(),
  11. DockToolbar bottomPaneToolbar = const DockToolbar(),
  12. String? persistentData,
})

default constructor.

Implementation

const DockLayout(
    {super.key,
    this.child,
    this.elements = const [],
    this.leftPane = true,
    this.topPane = true,
    this.rightPane = true,
    this.bottomPane = true,
    this.leftPaneToolbar = const DockToolbar(),
    this.topPaneToolbar = const DockToolbar(),
    this.rightPaneToolbar = const DockToolbar(),
    this.bottomPaneToolbar = const DockToolbar(),
    this.persistentData
    });