mvvm_app_template/__brick__/{{app_name}}
Mguy13 fb0902652e fixed androidId bug and added release config 2024-01-05 10:51:11 +00:00
..
.fvm changed to using mason brick 2023-12-08 16:19:03 +01:00
.idea changed to using mason brick 2023-12-08 16:19:03 +01:00
android fixed androidId bug and added release config 2024-01-05 10:51:11 +00:00
assets changed to using mason brick 2023-12-08 16:19:03 +01:00
ios changed to using mason brick 2023-12-08 16:19:03 +01:00
lib added date locale initialization 2023-12-13 19:46:52 +00:00
test changed to using mason brick 2023-12-08 16:19:03 +01:00
.gitattributes changed to using mason brick 2023-12-08 16:19:03 +01:00
.gitignore changed to using mason brick 2023-12-08 16:19:03 +01:00
.metadata changed to using mason brick 2023-12-08 16:19:03 +01:00
CHANGELOG.md changed to using mason brick 2023-12-08 16:19:03 +01:00
LICENSE changed to using mason brick 2023-12-08 16:19:03 +01:00
README.md changed to using mason brick 2023-12-08 16:19:03 +01:00
analysis_options.yaml changed to using mason brick 2023-12-08 16:19:03 +01:00
flavorizr.yaml changed to using mason brick 2023-12-08 16:19:03 +01:00
flutter_launcher_icons-develop.yaml changed to using mason brick 2023-12-08 16:19:03 +01:00
flutter_launcher_icons-prod.yaml changed to using mason brick 2023-12-08 16:19:03 +01:00
flutter_native_splash.yaml changed to using mason brick 2023-12-08 16:19:03 +01:00
pubspec.yaml changed to using mason brick 2023-12-08 16:19:03 +01:00

README.md

A new Flutter project.

Getting Started

General 'random' Project errors

Change the minSdkVersion in flutter-directory/packages/flutter_tools/gradle/flutter.gradle to 23 every time there is an update.
If intl throws an error about not being able to find a package, generate with flutter gen-l10n .
Use this link as workaround for rendering MD content in Android Studio


Flutter Version Manager (FVM)

Inspiration

To containerize the setup of a flutter project, as much as possible, without involving actual Docker.

Setup

  • Overview
  • Install a standalone (since it is to be used globally)
  • Install the Sidekick GUI for your platform. Use that to download, install and manage versions
  • Opening a project should create/read(in case already existing) the .fvm folder with versioning
  • Point the Flutter SDK location (per your IDE-specific settings) to the symlink(shortcut) inside the flutter_sdk folder.
  • Create the aliases for short-circuiting fvm [flutter|dart] <...> to just [flutter|dart] <...>
    • For Linux, just an alias
    • For Windows/Powershell, download my profile from my Github .

FVM error

If a simple flutter command fails with a git not found in your PATH due to the new fvm, do the following:

  1. Check if you have git installed properly, with git --version
  2. Skip the git check in flutter a) Go to 'flutter_sdk/bin/internal/shared.bat' b) Find a line where something like SET git_exists=false is used (~line 56) and set it to true.
  3. Confirm that that flutter command works

Errors while building Pods (iOS + MacOS)

  1. Usually resolvable by deleting the Podfile.lock.
  2. For CDN-trunk out-of-date-error, try updating the precompiled Firestore SDK (Check the comments in Podfile, under 'targets' section).