centered_grid 1.0.1 copy "centered_grid: ^1.0.1" to clipboard
centered_grid: ^1.0.1 copied to clipboard

A customizable Flutter grid widget that automatically centers the last row when the number of items is less than the cross-axis count.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add centered_grid

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  centered_grid: ^1.0.1

Alternatively, 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:centered_grid/centered_grid.dart';
1
likes
140
points
79
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter grid widget that automatically centers the last row when the number of items is less than the cross-axis count.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on centered_grid