Create simple dart project with pubspec.yaml
Steps:
1, Install stagehand:
$ flutter pub global activate stagehand
2, Add installed pub bin to PATH:
export PATH="$PATH":"$HOME/soft/flutter/.pub-cache/bin"
3, Use stagehand to generate a simple project
$ stagehand package-simple
hn.0xbf.me1 min read
Luís Louro
Learn Dart
I don't know it it's different but you can also start a new dart project with
dart create your_project_name