bento_layout 0.1.1
bento_layout: ^0.1.1 copied to clipboard
A Flutter package for building bento-style grid layouts using the skyline bin-packing algorithm. Tiles of varying sizes are packed without overlap or unnecessary gaps. Width fills the parent; height i [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bento_layoutThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bento_layout: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bento_layout/bento_layout.dart';