Skip to content

cuisonenrico/task-management

Repository files navigation

Setup

Follow these steps to use the template repository featuring properly setup Gradle files for environment configuration, repository initialization, Flutter Version Management (FVM) initialization, and Github Actions integration.

  1. Use the repository as template. This will create a repository of your own and copies the template. Untitled

  2. Have Flutter version management initialized. You can use any version you want. However, if there are any conflicts, errors, and outdated or deprecated methods, it is your responsibility to resolve them. This template initially uses flutter version 3.13.7. Run the following

    dart pub global activate fvm

    fvm use <VERSION_NUMBER>

    Go to the settings and look at the path of the Flutter SDK being used. It should be pointed to “flutter_sdk” in “.fvm” folder of the project’s directory.

  3. To rename all package names associated with android files run this:

    flutter pub run change_app_package_name:main com.package.test_fork

    Note: Replace com.package.test_fork with your desired package name. Take note that this will only replace package names for android files. Any values such as the app_name declared for each application flavor in build.gradle should be changed manually (see image below).

    asdasd

  4. Replace name in pubspec.yaml with desired application package name. Resolve import conflicts across files.

  5. Run pub get and build_runner:

    flutter pub get

    flutter packages pub run build_runner build --delete-conflicting-outputs --verbose

  6. Setup Run Configurations. Set main.dart as entry point and use a build flavor. Untitled

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published