Create simple dart project with pubspec.yaml

·

1 min read

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