Comments (4)
I am also facing the same issue. Did you get anything?
from flutter-beginners-tutorial.
Not yet. I am still waiting for some help.
from flutter-beginners-tutorial.
It's probably the http package has updated since then.
To use it now you do this:
get(new Uri.https("worldtimeapi.org", "/api/timezone/Europe/London"));
The first parameter in the Uri object is the base URL of the end point, and the second is the rest of the URL. Take note that there are Uri.http and Uri.https, but with http it didn't worked.
from flutter-beginners-tutorial.
@rafaelwillen Problem solved! Thank you :)
from flutter-beginners-tutorial.
Related Issues (20)
- Can I use any other website other than http://worldtimeapi.org/ on the world time app? HOT 1
- Lesson 26 get does not take url as link
- Lesson 30 - Error: Property 'settings' cannot be accessed on 'ModalRoute<Object?>?' because it is potentially null. HOT 1
- lesson-28 — Adjust time to locale with negative offset HOT 1
- No code showing in repo
- Wrong time for UTC -ve values HOT 1
- gyes some body can send me the source code pls
- #lesson 28 Error: Field 'time' should be initialized because its type 'String' doesn't allow null. String time; // the time in that location HOT 2
- WorldTime class error pls help
- Build failed due to use of deprecated Android v1 embedding.
- Error waiting for a debug connection: The log reader stopped unexpectedly. Error launching application on Windows
- Error: The parameter 'author' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. HOT 1
- The argument type 'String' can't be assigned to the parameter type 'Uri' HOT 2
- type 'Null' is not a subtype of type 'bool'
- the named parameter 'onpressed' is required HOT 2
- NULL is not subtype of type 'Map<dynamic, dynamic> in type cast (Lesson #30) HOT 1
- lesson 30
- Not an issue but I would like to thank The Net Ninja
- Error
- The Readme is not clear HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-beginners-tutorial.