I am trying to use AlignedGridView
from flutter_staggered_grid_view
as mentioned in their Docs -
AlignedGridView.count(
crossAxisCount: 4,
mainAxisSpacing: 4,
crossAxisSpacing: 4,
itemBuilder: (context, index) {
return Tile(
index: index,
extent: (index % 7 + 1) * 30,
);
},
);
What is Tile
in this code? I Dont have any class or widget with that name that I can import here.
I get error - Error: The method 'Tile' isn't defined for the class