You get this error if you try to install a package. It happens if your project name is same as your flutter dependency name. In my case I was installing flutter_bloc and my project name was flutter_bloc too. So I got error pubspec.yaml: A package may not list itself as a dependency.
Month: October 2021
Is flutter difficult to learn?
If you have some programming experience then flutter would not be that difficult. Sometimes programmer with HTML or web programming background might find flutter is easy to start with. If you directly want to start with flutter programming, then I would suggest you start with basic concepts like Row, Column, Container, Image and Text widget….
Flutter CheckBoxListTile
In this tutorial you will learn how to create flutter category selection for multiple selection. We will use Getx for ListView. We will create object instances inside map. In the controller we will create the the map and we will also use Map’s where() and Contain methods. First we will create a model and then…