I wanted to convert a ListView into a GridView so that it would show more information on a large screen such as Web.
My ListView code looked like this:
return ListView.builder(
physics: scrollable ? null : NeverScrollableScrollPhysics(),
shrinkWrap: shrinkWrap,
padding: EdgeInsets.only(top: 16.0),
itemCount: words.length,
itemBuilder: (context, index)