Flutter package for the cart management

Overview

Flutter_Cart ๐Ÿ›’

pub package

A flutter package for make your life easy. This package is used for maintaining a cart.

sample

Usage

It is recommended to use any State Management. i.e:- Provider, Redux etc

To use this plugin, add flutter_cart as a dependency in your pubspec.yaml file.

Getting Started

  • first create an instance of flutter cart package.
     var cart = FlutterCart();
  • After getting the instance, we are able to get the built-in methods
    • Add Items into cart
           cart.addToCart(
                  {@required dynamic productId,
                   @required dynamic unitPrice,
                   @required int quantity,
                   dynamic uniqueCheck,
                   dynamic productDetailsObject});
      
    • Remove item one by one from cart โž–
          cart.decrementItemFromCart(index);
      
    • Add item one by one to cart โž•
          cart.incrementItemToCart(index);
      
    • Get the total amount
          cart.getTotalAmount()
      
    • Get the total quantity
          cart.getCartItemCount()
      
    • Get Specific Item from Cart
          cart.getSpecificItemFromCart(cartId)
      
You might also like...

Concepts used Flutter layout,State management, Blockchain integration, Http api integration, Smart contracts

HS_CryptoCoin_Wallet First project using Flutter with Blockchain Getting Started This project is a starting point for a Flutter application. A few res

Dec 23, 2021

A flutter todo/task listing example app with advance state management using `Momentum` library.

A flutter todo/task listing example app with advance state management using `Momentum` library.

A flutter todo/task listing example app with advanced state management using Momentum library. Simple on the outside but powerful in the inside. This

Oct 11, 2022

Amazing task management application with fluid, minimal and modern UI using Flutter! One of The Winner Apps for Google DevFest 2021!

Amazing task management application with fluid, minimal and modern UI using Flutter! One of The Winner Apps for Google DevFest 2021!

Orb "Let your task orbit!" ๐Ÿช Description Orb is an easy-to-use task manager app that help you manage your daily struggles to get your things done eff

Oct 28, 2022

Task management app with flutter, firebase firestore, and firebase auth

to_do_list A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

Mar 3, 2022

A super-fast and efficient state management solution for Flutter...

turbo A super-fast, efficient state management solution for Flutter. Turbo does not use streams, which are extremely inefficient, or use complex abstr

Oct 16, 2022

Student Management app for the Faculty of Health Science

Software Design Project - App Repository Student Management app for the Faculty of Health Science Build-Test Status Developers Sedzani Suraksha Favour

May 24, 2021

ProTasks, a collaborative task management app

ProTasks This is the public repository for ProTasks, a collaborative task management app that I created. You can get the app from here Highlighted Too

Jan 3, 2023

Shopping app with riverpod state management

Shopping app with riverpod state management

Shopify Shopify admin rest api demo project. We are try to use riverpod as state management to improve widget rebuilding performance. May be at some p

Nov 19, 2022

task management app by fullstack school

task_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Oct 16, 2021
Comments
  • Flutter Cart updated to Null safety.

    Flutter Cart updated to Null safety.

    • ProductName variable has been added in Cart model.
    • Now you can get the specific product by using getSpecificItemFromCart(productId) named function.
    • Improved the package and fixed some minor issues.
    opened by Scienticious 0
  • cart saved in local storage via shared_preferences in README.md added

    cart saved in local storage via shared_preferences in README.md added

    Hello sir, I was wondering how to do it. I tried to do make this feature internally. But there is a lot of complexity in doing that. Then, I got an idea to make a class that can handle everything. So I made a class name OfflineCart and there you will find 2 methods to save and restore the cart from your local storage via shared_preferences. I hope this will help. Thank you.

    opened by iamirzashowvik 0
Owner
Osama Asif
Senior Software Engineer | Flutter | React-Native | React.js | Electron | Dart
Osama Asif
An animated flutter UI for E-commerce product variant selection / add to cart developed by nonybrighto and designed by Akram Khalid.

Crate & Barrel - Dark Mobile App Concept Animated An animated flutter UI for E-commerce product variant selection / add to cart developed by nonybrigh

Nony Bright O 47 Mar 28, 2022
Flutter ShopApp, you can see products and their prices, categories and their products, search for a product, add to favorite, add to cart, sign in and sign up.

shop_app_2 A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Muhammed Rezk Rajab 10 Aug 7, 2022
๐Ÿ› A full E-commerce app with nice UI consists of on-boarding, login, sign-up, home, product details, cart and user profile.

About (Download) ?? A full E-commerce app with nice UI consists of on-boarding, login, sign-up, home, product details, cart and user profile. ?? Scree

null 56 Nov 27, 2022
We'll have a shop like this where we can add items to a cart in that card.

shop We'll have a shop like this where we can add items to a cart in that card. We can also delete such items. We'll have different pages. We can navi

Avinash Poshiya 1 Dec 7, 2021
Metask is an intuitive tool for project management and task management.

Metask is an intuitive tool for project management and task management. It is ideal for your personal organization, but also for efficient teams.

Nijat Namazzade 11 Nov 5, 2022
App for Shop Management and State Management Learning

?? E-Commerce ?? App for Shop Management and State Management Learning ?? Links ?? ?? Repo ยท ?? Got Issue ?? Features Authentication System Using Fire

Rohit Jain 2 Jul 19, 2022
Todo Flutter application with sqflite as a local database and bloc state management.

Todo App A Flutter application developed to add todo tasks and handles it I used Sqflite as a local database to store all the tasks I used flutter_sli

Muhhamed Sallam 14 Oct 17, 2022
BMI Calculator Flutter App with State Management

BMI Calculator ?? Our Goal The objective of this tutorial is to look at how we can customise Flutter Widgets to achieve our own beautiful user interfa

Pawan Kumar 53 Dec 13, 2022
Weather App built in Flutter and Riverpod state management

?? Weather App built with Riverpod This is a weather app built using Riverpod as it's State Management. This project is an attempt to rewrite the Weat

Temitope Ajiboye 49 Dec 7, 2022
A playground for me to learn the Riverpod state management library in Flutter.

clothes_shop A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Benhenneda Majid 2 Oct 25, 2021