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
241
likes
40
pub points
95%
popularity

Publisher

verified publishercaduandrade.net

Provides horizontal or vertical multiple split view for Flutter.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on multi_split_view