0

I have a problem with flutter htpp, i'm a beginner but i don't understand why the link of the http give me some problems what i do with this problem?

enter image description here

1
  • 1
    as the error says, you need Uri object not String object, so you need to do this: Uri.parse('https://httpbin.org/get') Commented Mar 12, 2021 at 22:37

1 Answer 1

1

You need to pass a URI to the http.get method but you currently give it a string.

Just wrap the link inside a URI.parse('yourLink')

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.