dio VS graphql-flutter

Compare dio vs graphql-flutter and see what are their differences.


A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc. (by flutterchina)


A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package. (by zino-hofmann)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
dio graphql-flutter
7 10
11,258 3,092
0.6% 0.5%
5.1 8.4
3 days ago 10 days ago
Dart Dart
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of dio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-07.


Posts with mentions or reviews of graphql-flutter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-24.
  • Flutter vs Kotlin Multiplatform Mobile (not a holywar)
    4 projects | reddit.com/r/FlutterDev | 24 Jan 2022
    - found Flutter graphql is way ahead , even almost mature as Apollo for JS. apollo-kotlin is several miles behind, a lot of issues, absolutely inconvenient usage after graphql-flutter
  • Which lib are you using with flutter for graphql?
    4 projects | reddit.com/r/FlutterDev | 3 Jan 2022
    https://github.com/zino-hofmann/graphql-flutter/issues/894 looks like it is again maintained by other folks
    4 projects | reddit.com/r/FlutterDev | 3 Jan 2022
    I was using https://github.com/zino-hofmann/graphql-flutter for flutter graphql projects but the main author of the lib is no longer working on this project. I know there have been two beta releases of this project recently but does anyone of you use any other library graphql client with flutter. Please don't recommend default http client which we use for rest apis. Has anyone tried this https://github.com/gql-dart/ferry. If you're using any other lib do let me know as well.
  • graphql-flutter package is back mantained
    2 projects | reddit.com/r/FlutterDev | 20 Nov 2021
    I'm happy to announce that the package graphql-flutter is back maintained, and I'm one of the official maintainers (@vincenzopalazzo), and I do this as my job. I rejected my last FANG offer to focus on open-source software development and support this library was my object until there are enough resources.
    2 projects | reddit.com/r/FlutterDev | 20 Nov 2021
    There is an example here https://github.com/zino-app/graphql-flutter/tree/beta/examples/flutter_bloc

What are some alternatives?

When comparing dio and graphql-flutter you can also consider the following projects:

getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.

flutter-design-patterns - Flutter Design Patterns application

ferry - Stream-based strongly typed GraphQL client for Dart

sentry-dart - Sentry SDK for Dart and Flutter

bloc - A predictable state management library that helps implement the BLoC design pattern

flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.

centrifuge-dart - Dart (Flutter) client SDK for bidirectional communication with Centrifugo and Centrifuge-based server over WebSocket

rick-and-morty-info - Made with Clean architecture + TDD + GraphQL + flutter_bloc + CodeCov + GitHooks + GitHub Actions (CI/CD) and finally with 💙

esc_pos_printer - ESC/POS (thermal, receipt) printing for Flutter & Dart

flutter_stripe - Flutter SDK for Stripe.

nhost-dart - Nhost Dart & Flutter packages

flutter_tflite - Flutter plugin for TensorFlow Lite