Creating a Web Project in Dart

mkdir projectFolderName
cd projectFolderName
export PATH=$PATH:~/.pub-cache/bin
stagehand web-simple
export PATH="$PATH:/usr/lib/dart/bin"
pub get

Starting a Web Project

export PATH=$PATH:~/.pub-cache/bin
cd to/your/webbased/dart/project
webdev serve

After that go to http://127.0.0.1:8080 to access the dart project.