Day 12 : I'm not able to scroll down in the catalog app when we are adding 50 items
class HomePage extends StatelessWidget {
const HomePage({super.key});
@OverRide
Widget build(BuildContext context) {
// int days = 30;
// String name = "codepur";
final dummyList = List.generate(50, (index) => CatalogModel.items[0]);
return Scaffold(
appBar: AppBar(
title: Text("Catalog App",
),
),
body: Padding(
padding: const EdgeInsets.all(16.0),
child: ListView.builder(
itemCount: dummyList.length,
itemBuilder: (context, index) {
return ItemWidget(
item : dummyList[index],
Day 12 : I'm not able to scroll down in the catalog app when we are adding 50 items
class HomePage extends StatelessWidget {
const HomePage({super.key});
@OverRide
Widget build(BuildContext context) {
// int days = 30;
// String name = "codepur";
final dummyList = List.generate(50, (index) => CatalogModel.items[0]);