File tree Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 11name : app
22description : A new Flutter project.
33
4+ environment :
5+ flutter : " >=2.0.0 <3.0.0"
6+ sdk : " >=2.10.0 <3.0.0"
7+
48dependencies :
59 flutter :
610 sdk : flutter
@@ -11,7 +15,7 @@ dependencies:
1115dev_dependencies :
1216 flutter_test :
1317 sdk : flutter
14- test : ^1.3.0
18+ test : any
1519
1620flutter :
1721 uses-material-design : true
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class HttpLink extends Link {
6969 try {
7070 // TODO: support multiple http methods
7171 response = await fetcher.post (
72- uri,
72+ Uri . parse ( uri) ,
7373 headers: httpHeaders,
7474 body: httpOptionsAndBody.body,
7575 );
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class GraphQLProvider extends StatefulWidget {
1414
1515 static ValueNotifier <GraphQLClient > of (BuildContext context) {
1616 final _InheritedGraphQLProvider inheritedGraphqlProvider =
17- context.inheritFromWidgetOfExactType ( _InheritedGraphQLProvider );
17+ context.dependOnInheritedWidgetOfExactType < _InheritedGraphQLProvider >( );
1818
1919 return inheritedGraphqlProvider.client;
2020 }
Original file line number Diff line number Diff line change @@ -8,18 +8,19 @@ homepage: https://github.com/snowballdigital/graphql-flutter/tree/master
88dependencies :
99 flutter :
1010 sdk : flutter
11- meta : ^1.1.6
12- http : ^0.12.0
13- http_parser : ^3.1.3
14- path_provider : ^1.1.0
15- uuid : ^2 .0.0
16- sqflite : ^1.1.0
17- graphql_parser : ^1.1.1
11+ meta : ^1.3.0
12+ http : ^0.13.1
13+ http_parser : ^4.0.0
14+ path_provider : ^2.0.1
15+ uuid : ^3 .0.3
16+ sqflite : ^2.0.0+3
17+ graphql_parser : ^1.1.4
1818
1919dev_dependencies :
2020 flutter_test :
2121 sdk : flutter
22- test : ^1.3.0
22+ test : any
2323
2424environment :
25- sdk : " >=2.5.0 <3.0.0"
25+ flutter : " >=2.0.0 <3.0.0"
26+ sdk : " >=2.10.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments