{"repo":"letsar/overflow_view","free":true,"listed":false,"github":"https://github.com/letsar/overflow_view","clone":"git clone https://github.com/letsar/overflow_view.git","description":"A widget displaying children in a line until there is not enough space and showing a the number of children not rendered.","language":"Dart","stars":183,"topics":["flutter","flutter-ui","flutter-package","flutter-widget"],"license":"MIT","category":"mobile-apps","readme_excerpt":"overflow view A widget displaying children in a line with an overflow indicator at the end if there is not enough space. [ ][pub] Features Renders children horizontally or vertically. Has an overflow indicator builder so that you can display a widget showing the number of elements not rendered. Can either constrain the children to the size of the first child or let them have the size they want. Children can overlap each other by setting a negative spacing. ![Overview][overview] Getting started In the pubspec.yaml of your flutter project, add the following dependency: In your library add the following import: Usage Constructors There are two constuctors depending on what you want to do. The OverflowView constructor will constrain all children to have the same size as the first one. This can be used for an avatar list for example. The OverflowView.flexible constructor will let all children to determine their own size. This is less performant than the default one, but it's more flexible. This can be used for a menu bar for example. Sponsoring I'm working on my packages on my free-time, but I don't have as much time as I would. If this package or any other package I created is helping you, please consider to sponsor me. By doing so, I will prioritize your issues or your pull-requests before the others. Changelog Please see the [Changelog][changelog] page to know what's recently changed. Contributions Feel free to contribute to this project. If you find a bug or want a feature, bu","default_branch":null,"files":null,"tree":[],"storefront":"/r/letsar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/letsar/overflow_view/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}