So in my flutter screen I have these tiles that is each tile has a letter in it. My plan there that these tiles must be expected to be shuffled when the button is click. Currently, I just have little knowledge in regarding with Flutter animation. I need your help guys.
Example of shuffle animation PS: this picture is not mine. I just want to upload this so then you have idea what does shuffle animation do in my tiles.
PS: Currently I have this code:
GridView.count(
crossAxisCount: 6,
crossAxisSpacing: 4.0,
mainAxisSpacing: 8.0,
padding: const EdgeInsets.all(8.0),
children: List.generate(
12,
(index) {
return Container(
decoration: BoxDecoration(
color: Colors.blue,
borderRadius: BorderRadius.circular(10),
),
child: Center(
child: Text(
'Item $index',
style: Theme.of(context).textTheme.headline5,
),
),
);
},
),
);

