I want to display widget in a specific pattern. I try to use GridView, but it seems that GridView can only set one value at crossAxisCount. I want it to be 3, 2 pattern. I have refer to @chunhunghan answer at this, but the pattern is in 00, 111, 22, 333, 44, 555 pattern vertically. I want it to be 012, 34, 567, 89 pattern vertically. I have attached the expected output. Thank you.
GridView.builder(
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 3, childAspectRatio: 1),
itemCount: 10,
itemBuilder: (context, index) {
return Column(children: <Widget>[
Icon(Icons.access_alarm,
color: Colors.redAccent, size: 100.0),
Text(index.toString())
],);
})
