Skip to content

ubuntu/flutter_project_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Flutter project template

This project is an opinionated starting point for a Flutter application.

In this project we are using the following tools to set up a solid structure for a Flutter project:

  1. FVM for managing Flutter SDK versions.
  2. Melos for handling mono-repos.
  3. Riverpod for state management.
  4. renovate for keeping dependencies up to date.
  5. ubuntu_lints for linting.
  6. GitHub actions for CI/CD.

Preparations

Before you start working on the project, make sure you have the following tools installed:

FVM

FVM is a simple version manager for Flutter. It allows you to have multiple Flutter versions installed and switch between them with ease, which is useful when working on multiple projects that require different Flutter versions.

Install fvm globally by following the instructions here.

Melos

Melos is a tool for managing Dart and Flutter mono-repos. It allows you to manage multiple packages and apps in a single repository. This is useful when you have multiple packages that depend on each other, as it allows you to manage them all in one place. It also allows for running commands across all packages in the mono-repo, versioning them together, generating changelogs, and more.

Install Melos globally by running:

flutter pub global activate melos

In the GitHub Actions workflow, we are using the melos-action to install Melos, run Melos commands and automatically version and publish packages (if they are non-private).

Getting started

After you have created a new project on GitHub

TODO:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published