staggered_grid_view_flutter
A new Flutter project.
Getting started
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
...
staggered_grid_view_flutter: <latest_version>
In your library add the following import:
import 'package:staggered_grid_view_flutter/widgets/staggered_grid_view.dart';
For help getting started with Flutter, view the online documentation.
Example
new StaggeredGridView.count(
crossAxisCount: 4,
staggeredTiles: _staggeredTiles,
mainAxisSpacing: 4,
crossAxisSpacing: 4,
padding: const EdgeInsets.all(4),
children: _tiles,
));