multi_split_view 0.0.3 copy "multi_split_view: ^0.0.3" to clipboard
multi_split_view: ^0.0.3 copied to clipboard

outdated

Provides horizontal or vertical multiple split view for Flutter.

multi_split_view #

A widget to provides horizontal or vertical multiple split view for Flutter. animated

  • Horizontal or vertical
  • Configurable weights for children
  • Automatic calculation of weights for:
    • Child added without defined weight
    • Weight redistribution when a child is removed.
  • Listener to detect children size changes

Examples #

Horizontal

horizontal

    MultiSplitView.horizontal(children: [child1, child2, child3]);

Horizontal - setting the weight

horizontalweight

    // setting 10% of weight for the first child
    MultiSplitView.horizontal(
        children: [child1, child2, child3],
        controller: MultiSplitViewController(weights: [0.1]));

Listener

    MultiSplitView.horizontal(
        children: [child1, child2],
        onSizeChange: (childIndex1, childIndex2) => print(
            'Index of children who changed size: $childIndex1 and $childIndex2'));

TODO #

  • More examples
  • NullSafety
  • Documentation
  • Test
319
likes
40
points
20.7k
downloads

Publisher

verified publishercaduandrade.net

Weekly Downloads

Provides horizontal or vertical multiple split view for Flutter.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on multi_split_view