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:

javascript is null or empty function

How to check for null, undefined, or empty values in JavaScript

In most languages, we only have to cater to null. But in JavaScript, we have to cater to both null and undefined. How do we do that?

Lewis Cianci
Feb 14, 2025 ⋅ 4 min read
MERN Stack: Overview With Examples

What is the MERN stack? Overview with examples

Discover how the MERN stack (MongoDB, Express.js, React, Node.js) enables developers to build dynamic, performant, modern websites and apps.

Nefe Emadamerho-Atori
Feb 13, 2025 ⋅ 20 min read
Leveraging Parallel Computing In Node.js

Leveraging parallel computing in Node.js

Use parallel computing in Node.js with worker threads to optimize performance, handle CPU-intensive tasks, and utilize multi-core processors.

David Omotayo
Feb 13, 2025 ⋅ 8 min read

A guide to modern frontend architecture patterns

Frontend architecture is the foundation of your frontend codebase. Here’s how to optimize the pattern that you choose.

Shalitha Suranga
Feb 12, 2025 ⋅ 9 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