File tree Expand file tree Collapse file tree 4 files changed +2
-24
lines changed
Expand file tree Collapse file tree 4 files changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ def keystorePropertiesFile = rootProject.file("key.properties")
1111def keystoreProperties = new Properties()
1212keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
1313**/
14+
1415def flutterRoot = localProperties. getProperty(' flutter.sdk' )
1516if (flutterRoot == null ) {
1617 throw new GradleException (" Flutter SDK not found. Define location with flutter.sdk in the local.properties file." )
Original file line number Diff line number Diff line change 1- org.gradle.jvmargs =-Xmx1536M
1+ org.gradle.jvmargs =-Xmx1536M
Original file line number Diff line number Diff line change @@ -27,24 +27,8 @@ class HomePageBodyState extends State<HomePageBody> {
2727 List data;
2828 bool isLoading = true ;
2929
30- DatabaseClient db = new DatabaseClient ();
31- List fiat;
32- String fiatString = "" ;
33-
3430 Future <bool > getDataFromAPI () async {
3531
36- await db.createFIAT ();
37- fiat = await db.fetchFIAT ();
38-
39- this .setState (() {
40- if (fiat== null ){
41- fiatString = "EUR" ;
42- }
43- else {
44- fiatString = fiat.elementAt (0 ).toString ().toUpperCase ();
45- }
46- });
47-
4832 var response = await http.get (
4933 Uri .encodeFull ("https://api.coinmarketcap.com/v1/ticker/?convert=" + "EUR" + "&limit=150" ),
5034 headers: {
Original file line number Diff line number Diff line change @@ -270,13 +270,6 @@ packages:
270270 url: "https://pub.dartlang.org"
271271 source: hosted
272272 version: "0.4.0"
273- platform:
274- dependency: "direct main"
275- description:
276- name: platform
277- url: "https://pub.dartlang.org"
278- source: hosted
279- version: "2.1.2"
280273 plugin:
281274 dependency: transitive
282275 description:
You can’t perform that action at this time.
0 commit comments