September 2019
Beginner
512 pages
12h 52m
English
The pubspec file in Flutter is similar to a simple Dart package. Besides that, it contains an additional section for configurations specific to Flutter. Let's see the pubspec.yaml file's contents in details:
name: hello_flutterdescription: A new Flutter project.version: 1.0.0+1
The beginning of the file is simple. As we already know, the name property is defined when we execute the pub create command, followed by the default project description.
The version property follows the Dart package conventions: the version number, plus an optional build version number separated by +. In addition to that, Flutter allows you to override ...
Read now
Unlock full access