A Flutter e-commerce starter kit built using ScopedModel

Overview

Flutter E-Commerce App

A Flutter e-commerce starter kit built using ScopedModel for state management that allows you to view a list of paginated products and its details. Originally built by the Flutter team at GeekyAnts.

You can checkout the complete starter kit on Flutter Market: Link

Medium tutorial: Link

Docs for Admin dashboard: Link

Setup

You need to add a remote_config.dart file in the lib>util directory as follows:

class RemoteConfig {
  static final Map<dynamic, String> config = {
    "AuthorizationToken":
        "YOUR_API_KEY",
    "BASE_URL": "www.BASE_URL.com",
    "BASE_PRODUCTS_URL": "/BASE_PRODUCTS_URL/products/categoryId=1",
  };
}
You might also like...

Face detection app built with Flutter and Firebase ML Kit

Face detection app built with Flutter and Firebase ML Kit

Flutter Face Detection Flutter Face Detection with Firebase ML Kit and CustomPainter. Read the article on Medium Made with 😍 by Akora-IngDKB. Follow

Sep 29, 2022

A beautiful weather forecasting application built with the Flutter development kit. Available on Android and iOS.

A beautiful weather forecasting application built with the Flutter development kit. Available on Android and iOS.

Flutter Weather A beautiful weather forecasting application built with the Flutter development kit. Screenshots Analysis Run Application This project

Oct 17, 2022

Flutter starter - GetX Flutter Firebase Auth Example

Flutter starter - GetX Flutter Firebase Auth Example

GetX Flutter Firebase Auth Example UPDATE: Version 2.0.0 Changed to new language

Jan 5, 2023

Flutter course chatapp - A Flutter Course Chat App Starter

flutter_course_chat_app_starter Getting Started Firebase installations 1- Open F

Jan 5, 2022

Starter app for Flutter that includes many different production app features; some not typically included in demo apps.

first_app: Starter app for a Flutter production app Maintainer: Greger Wedel, https://github.com/gregertw Listed on: Latest build and artifacts: ** La

Dec 28, 2022

Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster.

Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster.

Readky. Introduction Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster. You just need to add

Nov 26, 2022

Flutter starter template for production applications with a REST backend

Flutter starter template for production applications with a REST backend

Flutter Boilerplate My Flutter starter template for production applications with a REST backend. The main aim of this template is to get you up and ru

Apr 13, 2022

A simple flutter starter with firebase & getX

A simple flutter starter with firebase & getX

Flutter starter GetX simplify & optimise a lot how to use Flutter! You should read a bit about GetX and Firebase. Package used Firebase (firebase_core

Jun 9, 2022

Hungry is a Free Flutter Recipe App Starter Template that can help you develop a Recipe application much faster.

Hungry is a Free Flutter Recipe App Starter Template that can help you develop a Recipe application much faster.

Hungry is a Free Flutter Recipe App Starter Template that can help you develop a Recipe application much faster. You just need to add some adjustment to the frontend and you can create your own backend.

Dec 20, 2022
Comments
  • remote_config.dart

    remote_config.dart

    i can't able to see the remote_config.dart in the lib of util folder

    and when added using the code mentioned in the page getting with error at Future _getProductsByCategory(categoryId, pageIndex) async { var response = await http.get( RemoteConfig.config["BASE_URL"] +" "+ RemoteConfig.config["BASE_PRODUCTS_URL"] + " " + "&category=$categoryId&per_page=6&page=$pageIndex",

    on product_scoped_model.dart file please help with this.

    opened by sravansck 0
  • Misconfiguration

    Misconfiguration

    remote_config.dart file not responding due

    "BASE_PRODUCTS_URL": "/BASE_PRODUCTS_URL/products/categoryId=1"

    error message {"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}}

    As per API documentation tried "BASE_PRODUCTS_URL": "/wp-json/wc/v3/products"

    Got a response but the display changed from continuously revolving to "No product available"

    Can anybody give the correct code or correct method

    opened by santosh742598 1
  • Showing only an even number of products and no products if exist only one or an odd number of products.

    Showing only an even number of products and no products if exist only one or an odd number of products.

    Hi @rohan20 , very useful repo about the above use case.

    I’m using a similar use case only a brief change on products_list_page if I'm not wrong. The current condition will show only an even number of products but if the category have only one product or an odd number of products like 9,11 ect… will lose one product.

    I’ve add the following conditions as a workaround in order to show all products inside the condition else if (index % 2 == 0).

    } else if (index % 2 == 0) {
    
    
      // if we have odd number of products 7,9,11 ect show the last one
      if (index == model.getProductsCount() - 1) {
        return ProductsListItem(
          product1: model.productsList[index],
          product2: null,
        );
    
      // if we have only one product
      } else if ( model.getProductsCount() == 1) {
        return ProductsListItem(
          product1: model.productsList[0],
          product2: null,
        );
      } else {
        //2nd, 4th, 6th.. index would contain nothing since this would
        //be handled by the odd indexes where the row contains 2 items
        return Container();
      }
    
    }
    

    Thanks for sharing the repo! :)

    opened by NikolinNgjela 0
  • Error in file pages/products_list_page.dart

    Error in file pages/products_list_page.dart

    class ProductsListPageBody extends StatelessWidget {
      BuildContext context;  
      ProductScopedModel model;
    
      int pageIndex = 1;  <----- must final!
    
    opened by jonahfang 3
Yet another Todo app, now using Flutter (with ScopedModel)

Flutter Todo Yet another Todo app, now using Flutter. Getting Started This Todo app is implemented using Flutter (with Scoped Model for state manageme

Tuan Nguyen 107 Jan 4, 2023
Starter-Flutter - Starter flutter project for best architecture and seperation of code

Modular-Architecture Codebase CodeBase , Infrastructure and the common Layers (c

Ahmed Tawfiq 13 Feb 16, 2022
This repo provides a starter kit thats include Getx package.

Getx_Starter This repo provides a starter kit thats include Getx package. It includes key-value databases, sample pages, and components which they are

Okan 2 Apr 27, 2022
This perfect starter kit is an app based on React Native and UI Kitten library with Light and Dark themes support.

Kitten Tricks This perfect starter kit is an app based on React Native and UI Kitten library with Light and Dark themes support. It’s completely free

Akveo 7k Dec 30, 2022
Project-x2 - A Flutter E-Commerce starter template that bootstraps development of your mobile application

Flutter E-Commerce UI KIT A powerful Flutter E-Commerce starter template that bo

null 1 Apr 7, 2022
Ml kit ocr - Plugin which provides native ML Kit OCR APIs

MLKit OCR Plugin which provides native ML Kit OCR APIs Requirements Android Set

Madhav tripathi 0 Aug 3, 2022
KangKurir UI Kit Built Using Flutter

KangKurir UI Kit Using Flutter by Rangga Saputra (@rangga.dev) Flutter Developer

Rangga Saputra 9 Sep 3, 2022
Flutterstarterproject - Clean Architecture Flutter starter project, using tdd + bloc

Flutter Starter Project Generated by the Nero Lab CLI ?? A Nero Lab Project crea

Muhammad Noerhidayatullah 12 Dec 8, 2022
Starter project for Flutter plugins willing to access native and synchronous rust code using FFI

Flutter Rust FFI Template This project is a Flutter Plugin template. It provides out-of-the box support for cross-compiling native Rust code for all a

Jør∂¡ 561 Dec 7, 2022
A Productivity Mobile Application UI kit built with Flutter

Taskez A productivity mobile application UI kit built with Flutter Designs and inspiration by Taskez IOS UI kit. Application Flow - Youtube Show some

Davies Kwarteng 554 Jan 7, 2023