-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
Bug Report
Package
http_certificate_pinning: ^3.0.1
Description
After adding the package to my pubspec.yaml
file and running flutter pub get
, I tried to import the package:
import 'package:http_certificate_pinning/http_certificate_pinning.dart';
But I got this error:
Target of URI doesn't exist: 'package:http_certificate_pinning/http_certificate_pinning.dart'
Screenshots
Steps to Reproduce
- Add dependency to
pubspec.yaml
:dependencies: http_certificate_pinning: ^3.0.1
- Run
flutter pub get
- Import in Dart file:
import 'package:http_certificate_pinning/http_certificate_pinning.dart';
- See the error
Expected Behavior
The package should be imported successfully without error.
Actual Behavior
Flutter/Dart reports that the URI does not exist.
Environment
- Flutter version: (e.g., 3.19.2)
- Dart version: (e.g., 3.3.1)
- IDE: (e.g., Android Studio 2023.2.1)
Additional Notes
- Tried
flutter clean
andflutter pub get
- No luck resolving the issue
Please advise if something has changed with the package or if I'm missing a step. Thank you!
Metadata
Metadata
Assignees
Labels
No labels