Here, we’ll take a Container with a fixed height and width. Then, we’ll take a ListView of size 4 as the child. Each member of the ListView will be a Row with two children—Container and Text. We can code different decorations for each child in our ListView.