2022-07-06
2883
#flutter
Murtaza Sulaihi
122997
Jul 6, 2022 ⋅ 10 min read

Building a shopping cart in Flutter

Murtaza Sulaihi I am a school professor and I also develop Android applications and Flutter applications.

Recent posts:

The 10 Best React Native Component Libraries You Should Know

The 10 best React Native UI libraries of 2025

UI libraries like React Native Paper and React Native Elements offer pre-developed components that help us deliver our React Native projects faster.

Aman Mittal
Feb 21, 2025 ⋅ 7 min read
top ten docker alternatives worth considering

The 10 best Docker alternatives to consider

Although Docker remains the dominant platform for containerization and container management, it’s good to know about different tools that may work better for certain use cases.

Ayooluwa Isaiah
Feb 21, 2025 ⋅ 13 min read
how to use the ternary operator in javascript

How to use the ternary operator in JavaScript

Add to your JavaScript knowledge of shortcuts by mastering the ternary operator, so you can write cleaner code that your fellow developers will love.

Chizaram Ken
Feb 21, 2025 ⋅ 7 min read
Using tsup To Bundle Your TypeScript Package

Using tsup to bundle your TypeScript package

Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.

Muhammed Ali
Feb 20, 2025 ⋅ 7 min read
View all posts

5 Replies to "Building a shopping cart in Flutter"

    1. I am not sure what you are trying to ask here. We are adding item from main screen and item count can be updated from cart screen.

      1. What he meant was *What will happen if someone clicks on ADD TO CART multiple times* on the same item? For example, on Oranges, what happens if you click on add to cart multiple times from the product list?

  1. Hello.I did exactly the same thing you did but when i cliclk on “Add to Cart” it doesnt reflect on that IconButton in the appBar.

Leave a Reply