g123k / flutter_app_badger

Support to update the app badge on the launcher (both for Android and iOS)
https://pub.dev/packages/flutter_app_badger
Apache License 2.0
308 stars 161 forks source link

Flutter app badger import error #4

Closed sautong97 closed 5 years ago

sautong97 commented 5 years ago

import 'package:flutter_app_badger/flutter_app_badger.dart';

This line throws the below error.

Target of URI doesn't exist: 'package:flutter_app_badger/flutter_app_badger.dart'. Try creating the file referenced by the URI, or Try using a URI for a file that does exist.dart(uri_does_not_exist)

I have already get packages and the problem still persist.

sautong97 commented 5 years ago

Apparently a simple restart of the Visual Studio Code resolves this issue. I will close this issue.