[Solved] Error on line 24, column 3 of pubspec.yaml: A package may not list itself as a dependency.
This error I got for url_launcher package.
pubspec.yaml:
Actual issue is I have kept my project name also url_launcher and the dependency I am trying to add was also has the same name “url_launcher”.
name: url_launcher
description: A new Flutter project.
dependencies:
url_launcher: ^5.5.0
flutter:
sdk: flutter
So renaming your project resolve this issue.
Working code for your reference:
name: url_launcher_demo
description: A new Flutter project.
dependencies:
url_launcher: ^5.5.0
flutter:
sdk: flutter
Yo I went ahead and got 777sxgame! What do you’ll like about it? I’m curious. Take a look! 777sxgame
km88login is super straightforward. No hassle logging in, and that’s always appreciated. Gets you in and playing fast. km88login
Alright, so I was a bit skeptical at first, but 5vipbet actually surprised me. They had some unique sporting events that I hadn’t seen anywhere else. Pretty good odds, too. Thinking ill bet some money again soon! Check out 5vipbet!
688betcc. Has a few good special offers for sports, not bad after all. I use it every other week. I reckon you should get onto it soon!: 688betcc