Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
itsnehabhagat05 opened this issue Apr 9, 2023 · 0 comments

Comments

@itsnehabhagat05
Copy link

itsnehabhagat05 commented Apr 9, 2023

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],
@itsnehabhagat05 itsnehabhagat05 changed the title Day 12 Day 12 : I'm not able to scroll down in the catalog app when we are adding 50 items Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant