flutter_staggered_grid_view icon indicating copy to clipboard operation
flutter_staggered_grid_view copied to clipboard

Tile

Open akhilg-9 opened this issue 3 years ago • 4 comments

Try correcting the name to the name of an existing method, or defining a method named 'Tile'. return Tile( ^^^^

akhilg-9 avatar May 26 '22 09:05 akhilg-9

What?

letsar avatar Jul 10 '22 10:07 letsar

using version 0.6.2 if I use the snippet from the readme MasonryGridView.count( crossAxisCount: 4, mainAxisSpacing: 4, crossAxisSpacing: 4, itemBuilder: (context, index) { return Tile( index: index, extent: (index % 5 + 1) * 100, ); }, );

the error is The method 'Tile' isn't defined for the type 'MasonryTestPage'. Try correcting the name to the name of an existing method, or defining a method named 'Tile'

mdgb avatar Jul 15 '22 11:07 mdgb

Cannot find Tile() in MasonryGridView.builder(). How can I be able to find the Tile() widget inside Masonry?

I am using the latest version on Android @letsar

Helocominc avatar Aug 16 '22 19:08 Helocominc

same problem here. where is the tile class?

brianllun avatar Sep 08 '22 19:09 brianllun

To anyone still facing this issue consider looking at the example app. The Tile widget is a customized and not a property in the package

Helocominc avatar Nov 01 '22 08:11 Helocominc

Yes it was an example widget, sorry for the confusion

letsar avatar Nov 01 '22 10:11 letsar

I wouldn't close this issue since the example must be something working regarding the context, so I highly recommend modifying the example in the README

S0NN1 avatar Sep 09 '23 17:09 S0NN1