Preparing dependencies, assets, fonts and Flutter pub add command.
Generated pubspec.yaml will appear here.
Generate a pubspec.yaml to create the flutter pub add command.
Dependencies
Normal and dev dependency blocks.
Assets
Image, icon and Lottie folders.
Fonts
Starter font family configuration.
Command
Copy flutter pub add command.
How to use
A clean workflow for Flutter project setup.
Use this tool when you need a predictable pubspec.yaml before adding packages, assets and fonts to a new app.
FAQ
pubspec.yaml generator FAQ
Can I paste package names from pub.dev?
Yes. Add package names one per line or comma-separated. The generator creates dependency blocks and a flutter pub add command.
Does this choose versions automatically?
The output uses any by default for quick scaffolding. For production, review package versions and lock compatible versions.
Can I add Lottie and SVG asset paths?
Yes. Add paths like assets/lottie or assets/icons and enable assets in the generator.
Can I configure fonts?
Yes. Add font family names and enable fonts. Review the generated asset path before using custom font files.
Should I run flutter pub get after copying?
Yes. After copying the file or command, run flutter pub get to resolve dependencies.