Skip to content

Flutter shopping app with Getx for State management, Dio for APIs and Hive for the local database.

Notifications You must be signed in to change notification settings

seljad/Flutter-Getx-State-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Created By Sajjad Javadi

Email: [email protected]

Show some ❤️ and star the repo to support the project

Flutter Shopping app example

In this project I use Getx for State management, Dio for HTTP client and Hive for the local database. Products api is for fakestoreapi. This example learn you how to:

  • Setup getx and sizer in main.dart
  • Initializes hive and registers adapter in main.dart
  • Get data from server with dio and parse JSON to a list
  • Using getx to show data in listview and how to work with controller
  • Save product in cart with hive

Getting Started

For help getting started with Flutter, view Flutter documentation.

  • Clone the repository git clone [email protected]:seljad/Flutter-Getx-State-management.git
  • Navigate to cloned folder
  • Get packages using flutter pub get
  • Run flutter run

About

Flutter shopping app with Getx for State management, Dio for APIs and Hive for the local database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages