docking 0.2.0 copy "docking: ^0.2.0" to clipboard
docking: ^0.2.0 copied to clipboard

outdated

Flutter layout for placing widgets in docking areas and arrange them into split and tabbed views.

pub pub2 pub3

Docking #

This package is still under developing

Layout for placing widgets in docking areas and arrange them into split and tabbed views.

Usage #

Layout #

The layout is organized into areas: items (DockingItem), columns (DockingColumn), rows (DockingRow) and tabs (DockingTabs). The root is single and can be any area.

Row #

    DockingLayout layout = DockingLayout(
        root: DockingRow([
      DockingItem(name: '1', widget: child1),
      DockingItem(name: '2', widget: child2)
    ]));
    Docking docking = Docking(layout: layout);

Column #

    DockingLayout layout = DockingLayout(
        root: DockingColumn([
      DockingItem(name: '1', widget: child1),
      DockingItem(name: '2', widget: child2)
    ]));
    Docking docking = Docking(layout: layout);

Tabs #

    DockingLayout layout = DockingLayout(
        root: DockingTabs([
          DockingItem(name: '1', widget: child1),
          DockingItem(name: '2', widget: child2)
        ]));
    Docking docking = Docking(layout: layout);

Combined #

    DockingLayout layout = DockingLayout(
        root: DockingRow([
      DockingItem(name: '1', widget: child1),
      DockingColumn([
        DockingItem(name: '2', widget: child2),
        DockingTabs([
          DockingItem(name: '3', widget: child3),
          DockingItem(name: '4', widget: child4)
        ])
      ])
    ]));
    Docking docking = Docking(layout: layout);

56
likes
0
pub points
77%
popularity

Publisher

verified publishercaduandrade.net

Flutter layout for placing widgets in docking areas and arrange them into split and tabbed views.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, multi_split_view, tabbed_view

More

Packages that depend on docking