Getting Started topic
Create a new application
To start a new Bullseye2D application, run the following command:
bullseye2d create ./my_new_game
You will be prompted to enter a location where you want to create the new app. A directory will be created for you and it will also be the project name.
The name should be all lowercase, with underscores to separate words, just_like_this. Use only basic Latin letters and Arabic digits: a-z0-9_.
When the project was successfuly created navigate into the directory and start the webserver:
cd ../my_new_game
webdev serve
Open your browser and go to: http://localhost:8080.
Customizing webdev serve:
webdev serve:Production Builds
When you're ready to deploy your application, you'll want to create an optimized production build.
# By default that generates an optimized production build in the `build` folder
webdev build
Properties
- dartDoc ↔ bool? Features Cheatsheet Getting Started My first App
-
This is just a unused variable to enforce the dart doc generator
to include topics that aren't attached to a specific classes or
functions.
{@category Getting_Started}
{@category TutorialFirstApp}
{@category Features}
{@category Cheatsheet}
getter/setter pair