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

0 0

Created By Sajjad Javadi

Email: SajjadJavadi28@gmail.com

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 git@github.com:seljad/Flutter-Getx-State-management.git
  • Navigate to cloned folder
  • Get packages using flutter pub get
  • Run flutter run

GitHub

View Github

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Deja una respuesta

Entrada anterior Sample Data Read For Flutter App
Entrada siguiente A simple game known as Tic Tac Toe developed with Flutter and Dart