Flutter Project Files
.packages
This file gets generated when you do a ‘packages get’. This file contains a list of dependencies used by your application.pubspec.lock
Also known as ‘package lock file’.The first time you get a new dependency for your package, pub downloads the latest version of it that’s compatible with your other dependencies. It then locks your package to always use that version by creating a lockfile. This is a file named pubspec.lock that pub creates and stores next to your pubspec. It lists the specific versions of each
dependency (immediate and transitive) that your package uses.