Skip to content

dahliaOS/app_template

Repository files navigation

WebsiteDiscordReleasesDonateDocumentation

dahliaOS Flutter application development template

Powered by Mason

  • Application development template for creating Flutter applications for dahliaOS

Usage

To generate this template in order to start developing Flutter applications for dahliaOS follow the steps below:

1. Install Mason

  • Pub.dev
dart pub global activate mason_cli
  • Homebrew
brew tap felangel/mason
brew install mason

2. Initialize Mason

mason init

Running the command above Mason will generate a mason.yaml file.

3. Add our template brick

Edit the mason.yaml file and add our template brick, example shown below:

bricks:
   dahliaos_app_template:
     git:
       url: https://github.com/dahliaOS/app_template.git
       path: template/dahliaos_app_template

4. Get all registered bricks

mason get

5. Generate the template files

mason make dahliaos_app_template

You should now have all the Flutter files generated and ready for editing, happy coding!

Contribute

If you're wondering how to contribute to the project, please refer to CONTRIBUTING.md

License

Copyright @ 2019-2022 - The dahliaOS Authors - contact@dahliaos.io

This project is licensed under the Apache 2.0 license