Flutter E-commerce App Tutorial Part 1 | Shop App Course | Provider State Management
dbestech
View ChannelAbout
Share Tech Knowledge. We are publishing a lot of React Native, Flutter, Javascript, and Laravel tutorials. We solve real-world animations, programs, coding, and bugs using examples code. Visit our website to know more about our tutorials https://www.dbestech.com/courses
Latest Posts
Video Description
Learn how to build a Flutter online shop app using provider state management. This could be used a e-commerce app. This is a Flutter Shopping app with Provider and Hive local storage for android and iOS. We will build a beautiful online store app for iOS and Android. It covers beautiful animation and scrolling. This is a flutter shopping cart with Provider with interactive ui design. This tutorial covers awesome animation ui design with local storage. By the end of this tutorial you will master, how to use provider and hive. Provider would be for state management and Hive would be local storage. Navigation For routing we have used flutter native navigation. We have extensively used the following Navigator.of() Navigator.push() Provider Providers Since this is a online shopping store app, we will use ChangeNotifierProvider with three classes to maintain our app state. These three classes would be wrapped in MultiProvider. So you will master how to add, remove and save data using ChangeNotifierProvider. Since we have many providers, we used MultiProviders to inject them at the root of our widget tree. Hive Since this tutorial focuses on local storage using Hive, we have used Hive for the following features add items cart remove items from cart favourite items add in cart remove favorite items from cart Get the complete code and assets from here https://www.dbestech.com/tutorials/flutter-online-shopping-store-with-cart-provider-state-management Shop app with laravel backend https://youtu.be/7dAt-JMSCVQ Timestamps 00:21:04 Introduction of the online shopping app 02:30:21 Creating TextStyle Objects 04:06:09 Creating the bottom navigation bar 00:13:29 Set up pages list for the bottom navigation bar 00:19:04 Create provider for the Bottom Navigation Bar 00:21:25 Uses the Flutter package provider to create a widget tree with multiple ChangeNotifierProviders. 00:22:32 Creating consumer widget for our provider 00:28:43 Introducing the home page 00:29:14 Creating the home page 00:35:39 Creating TabBar widget , TabBarView widget and set up tab controller 00:47:01:18 ListViewBuilder 01:10:45 Creating Product Models with quicktype 01:13:26 Creating a helper class in the services folder to retrieve data from our JSON files 01:20:51 Retrieving data from the Helper Class 01:23:11 Using data retrieved from models in a FutureBuilder 01:32:38 Creating products by Category Page 01:43:16 StaggeredGridView 01:48:09 Using showModalBottomSheet widget to create product filter 02:04:44 Passing State of the tabController from home page to product by cat page 02:06:52 Creating Product Page 02:07:41 Product Page CustomScrollView, Slivers and SliverAppBar 02:11:10 Setting up multiple images in a PageView Builder 02:16:17 Create product provider 02:20:15 Retrieving single product data from the JSON file 02:30:04 Using ChoiceChip Widget to select shoe sizes and setting up toggleCheck method 02:50:24 Creating Cart Page 02:54:04 Working with slidables widget from the flutter slidable package 02:57:21 Creating and Storing cart data in Hive Storage 03:05:04 Introducing Favorite Page 03:06:39 Creating Favorites Page and Hive create, get, delete methods 03:22:51 Creating the Cart Widget 03:31:57 Create Favorites Provider and Migrating the Favorites Methods to Favorites Provider 03:44:44 Migrating Cart methods to Cart Provider 03:50:20 Migrating product related methods to Product Provider and retrieve data via providers with the help of the Helper class. 03:55:40 Adjusting our UI for better responsiveness across different devices with the help of Screenutils package Twitter/Facebook/Instagram @dbestech What'sApp for commercial work @dbestech 📕📕📕📕📕📕 (12+ hours) https://www.udemy.com/course/flutter-and-nodejs-mongodb-course-with-chatting/?couponCode=BBD234F690D07D52A6E8
Upgrade Your Everyday
AI-recommended products based on this video

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running(Black)

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

Wireless Earbuds, Bluetooth Ear Buds 5.4 Mini HiFi Stereo with 4 ENC Noise Cancelling Mics Wireless Headphones, in Ear Earphones 40H IP7 Waterproof, USB C, Bluetooth Earbuds for Sports, Gym, Rose

soundcore P31i by Anker, Real-Time Adaptive Noise Cancelling, Hi-Res Sound, Translation Earbuds, 50H Playtime, Wireless Earbuds, Bluetooth Earphones, Spatial Audio, Fast Charging, IP55 ClimatePartner certified

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

YMZ Smart Watch for Men Women, IP68 Waterproof, Bluetooth Calling, Fitness Tracker, Sleep Monitoring, 1.85'' DIY Dial, AI Built-in, 100+ Sports Modes, 7 Days Battery, Compatible with Android & iPhones

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Smart Watch for Men Women with Bluetooth Call, Alexa Built-in, Heart Rate & Sleep Monitor, 1.83" DIY Dial Fitness Watch with 100+ Sport Modes, IP68 Waterproof, Compatible with Android iOS

Smart Watch for Men Women with Bluetooth Call, Alexa Built-in, Heart Rate & Sleep Monitor, 1.83" DIY Dial Fitness Watch with 100+ Sport Modes, IP68 Waterproof, Compatible with Android iOS

Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

Ninja Air Fryer Pro 5-in-1, 5 QT Capacity, Air Fry, Bake, Roast, Reheat, and Dehydrate, Air Crisp Technology, Nonstick Basket & Crisper Plate, Grey, AF142C

Glass Oil Sprayer for Cooking, 180ml Olive Oil Sprayer Bottle with Brush, Olive Oil Spray Mister, Kitchen Gadgets Accessories for Air Fryer, Canola Oil Spritzer (GREY)

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO


