getView method
Implementation
Widget getView() {
return StaggeredGridView.countBuilder(
padding: EdgeInsets.all(5),
crossAxisCount: 3, itemCount: items.length,
itemBuilder: (BuildContext context, int index) => itemsTile[index],
staggeredTileBuilder: (int index) => new StaggeredTile.count(
items[index].section ? 3 : 1, items[index].section ? 0.4 : 1
),
mainAxisSpacing: 4.0,
crossAxisSpacing: 4.0,
);
}