A Flutter widget that lays out its children in tight rows.
- Avoid invalid AStar ratios
- Allow zero-length rows without crashing
- Catch illegal inputs earlier for better reporting
- Use correct scaling for single items in rows where there is no solution (AStar)
- Prevent infinote row ratios in both algorithms when zero-size children are added, which leads to invalid child placement during layout
- More test cases for AStar
- A couple of issues with gallery sizing in AStar when the gallery is very narrow
- Prevent AStar gallery from reporting infinite height
- Tests for AStar layout strategy
- Improvements in layout behavior for the AStar algorithm to avoid breaching parent size contracts
- The widget accepts a layout strategy, which has a specific interface
- The old layout logic became the Greedy algorithm layout strategy
- Example is fully functional app with both strategies showcased
- A* (A-Star) algorithm layout strategy
- Parameter for maximum child count per row
- Report actual dimensions to parent instead of max dimensions
- Respect minimum and maximum sizes
- Ability to force fill the bottom row
- Incorrect calculations on row length in some instances
- Layout bounds during intermediate layout steps causing errors
- Initial implementation
- Readme
- Example
- Basic test suite
- CircleCI config