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:

here's why everyone's going crazy over Zod 4

Here’s why everyone’s going crazy over Zod 4

Zod 4 is not just an update; it’s a leap forward for schema validation in TypeScript that truly lives up to the hype.

Popoola Temitope
May 5, 2025 ⋅ 4 min read
A guide to the CSS cursor property

Creating custom mouse cursors with CSS

Learn what custom cursors are and how to use CSS and JavaScript to create custom cursors that will give your website a creative edge.

Samson Omojola
May 5, 2025 ⋅ 8 min read
best JavaScript and HTML5 game engines

Best JavaScript and HTML5 game engines (updated for 2025)

Check out this guide, which ranks the top 10 JavaScript/HTML5 game engines by popularity, capability, and use case.

Solomon Eseme
May 2, 2025 ⋅ 15 min read

React Compiler RC: What it means for React devs

The React team officially released the first Release Candidate (RC). Let’s go over what’s new in RC and what it means for React developers.

David Omotayo
May 2, 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