iampawan / Flutter-UI-Kit

Flutter app for collection of UI in a UIKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http package missing in pubspec.yaml

hendrx opened this issue · comments

flutter run fails with:

Your application could not be compiled, because its dependencies could not be established.
The following Dart file:
/Users/arnehendricks/work/flutter_kram/Flutter-UI-Kit/lib/services/restclient.dart
...refers, in an import, to the following library:
package:http/http.dart
That library is in a package that is not known. Maybe you forgot to mention it in your pubspec.yaml file?

i added http package to pubspec.yaml, will make a PR

PR: #22

How to use the http package:

@iampawan this issue is kinda old now, and some PRs have been raised to address this. Will one of them be merged soon?

Merged and Fixed. Sorry for the delay.