Skip to content

UtkarshRode12/flutter_graphql_demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter GraphQL Demo

A new Flutter application with GraphQL.

Learn about this at

Medium : Flutter with GraphQL

Youtube: Flutter with GraphQL

Getting Started

This app is using graphql-flutter Dependency. I am using version 1.0.0 of this plugin.

Those who are onflutter stable channel will not able to use the version 1.0.0 of this plugin because it requires Dart Tool >= 2.2.0 && < 3.0.0 .On stable channel currently flutter is using Dart < 2.2.0 .

To solve this issue you need to move to the dev channel of flutter which is currently using Dart >= 2.2.0.

Let's check the Dart version of Flutter

$ flutter --version
Tools • Dart 2.1.x

You can see that Tools • Dart 2.1.x version is 2.1.0 ( < 2.2.0 ). So you need to change the channel, Here is instruction for changing the channel.

To change the Channel

$ flutter channel dev
Switching to flutter channel 'dev'...

$ flutter channel
Flutter channels:
  beta
* dev
  master
  stable

Now you can clone this app and run in your Computer.

If you found any difficulties while running this app then feel free to open the issue.

About

Query to GraphQL Server from your Flutter Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 73.0%
  • Objective-C 18.0%
  • Java 9.0%