bento_layout library

bento_layout — skyline bin-packing grid for Flutter.

Public API:

Classes

BentoDimension
The resolved dimensions of a bento tile.
BentoGrid
A scrollable bento grid that positions tiles of varying sizes using the skyline bin-packing algorithm.
BentoGridDelegate
A SliverGridDelegate that uses the skyline bin-packing algorithm.
BentoItem
A tile in the bento grid.
BentoSizingStrategy
Strategy interface for resolving a BentoItemSize to its BentoDimension.
DefaultBentoSizingStrategy
Default sizing strategy implementing the 3×3 bento size matrix.

Enums

BentoItemSize
Tile size vocabulary for the bento grid.