iampawan / iampawan/30DaysOfFlutter

Day 12 : I'm not able to scroll down in the catalog app when we are adding 50 items

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
418
Forks
315
PR merge metrics
No merged PRs in 30d

Description

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],

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.