sinnoorc / flutter_dio_example

Rest API call using Dio and getx statemixin in flutter

Home Page:https://medium.com/@sinnoorc/networking-in-flutter-dio-getx-state-mixin-flutter-3-3-5-b012130f677e

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter Network Call Example

This is a simple example of how to make a network call in Flutter. It uses the dio package and the getx for state management.

Getting Started

dependencies:
  flutter:
    sdk: flutter
  get: ^4.6.5
  dio: ^4.0.6

Usage

import 'package:dio/dio.dart';
import 'package:get/get.dart';

Screenshots

About

Rest API call using Dio and getx statemixin in flutter

https://medium.com/@sinnoorc/networking-in-flutter-dio-getx-state-mixin-flutter-3-3-5-b012130f677e


Languages

Language:C++ 33.7%Language:CMake 30.2%Language:Dart 28.7%Language:HTML 3.0%Language:C 2.3%Language:Swift 1.9%Language:Kotlin 0.2%Language:Objective-C 0.1%