[QuiltedGridTile] RangeError (index): Invalid value: Not in inclusive range 0..2: 3
Hi,
Just teste the last version 0.6.0 and find what look like an issue.
With a crossAxisCount of 3
pattern: <QuiltedGridTile>[
const QuiltedGridTile(1, 1),
const QuiltedGridTile(1, 1),
const QuiltedGridTile(2, 2),
]
produce an out of bound error.
Where the following pattern does not :
pattern: <QuiltedGridTile>[
const QuiltedGridTile(2, 2),
const QuiltedGridTile(1, 1),
const QuiltedGridTile(1, 1),
]
Regards
pattern: <QuiltedGridTile>[
const QuiltedGridTile(1, 1),
const QuiltedGridTile(2, 2),
const QuiltedGridTile(1, 1),
],
does produce the opposite of the first one.
Hi
The pattern
pattern: <QuiltedGridTile>[
const QuiltedGridTile(1, 1),
const QuiltedGridTile(1, 1),
const QuiltedGridTile(2, 2),
]
cannot fit into 3 columns, that's why there is an error. I should probably make the error more explicit nonetheless.
Hi
The pattern
pattern: <QuiltedGridTile>[ const QuiltedGridTile(1, 1), const QuiltedGridTile(1, 1), const QuiltedGridTile(2, 2), ]cannot fit into 3 columns, that's why there is an error. I should probably make the error more explicit nonetheless.
how use with n columns? I have this problem in my app and using Staired tile the behaviour not work as expected due indexes (is not sequential)
I need use QuiltedGridTile sequentially, today is:
0 1 2
5 4 3
6 7 8
I need:
0 1 2
3 4 5
6 7 8
Is possible make this (use indexes as expected) with SliverWovenGridDelegate, but SliverWovenGridDelegate doesn't supports N columns.
@letsar if you have any recommendations, please put below.
@letsar I use countBuilder as proposed in this pr:
- https://github.com/letsar/flutter_staggered_grid_view/pull/316
And works as expected. I think that this PR can be merged, because can help a lot and improve this package. thanks :) 👍