What is pubspec.yaml file?

 It’s the configuration file for a Flutter project.

It includes:

  • App name, version, description

  • Dependencies (packages, plugins)

  • Assets (images, fonts)

  • Environment SDK version

Example:

name: my_app dependencies: flutter: sdk: flutter http: ^1.2.0 assets: - images/logo.png

Comments

Popular posts from this blog

1. What is Flutter?

What is FutureBuilder and StreamBuilder?