Mono repo, add a package

This part is a follow-up on https://yapb.dev/2021/03/07/mono-repo-with-flutter-and-android-studio/. In this part, we are going to add a package to an existing mono-repo. Open a terminal and go to the packages folder. GO TO PACKAGES FOLDER CREATE A FLUTTER PACKAGE OPEN/RESTART ANDROID STUDIO Android studio might not detect the new folder. Restarting Android Studio fixes that. COMMITContinue reading “Mono repo, add a package”

Mono-repo, add a plugin

This part is a follow up on https://yapb.dev/2021/03/07/mono-repo-with-flutter-and-android-studio/ In this part, we are going to add a plugin to an existing mono-repo. Open a terminal and go to the packages folder. GO TO PACKAGES FOLDER CREATE A FLUTTER PLUGIN OPEN/RESTART ANDROID STUDIO Android studio might not detect the new folder. Restarting Android Studio fixes that.Continue reading “Mono-repo, add a plugin”

Mono-repo with Flutter & Android Studio

I was intrigued by a blog post from Rémi Rousselet with the title ‘Getting started: Creating your Flutter project. In this post, Rémi does an excellent job in explaining how to set up a Flutter project with the right rules, like enabling strong-mode, set up the linter, and disable warnings for generated files. A greatContinue reading “Mono-repo with Flutter & Android Studio”

Flutter for Line Of Business apps – Logging

The importance and usage of logging is for Line Of Business apps different than for consumer apps. Consumer apps Collect application crashes/warnings Narrow down problems to specific manufacturers, hardware, os versions Get insights on how much the app is installed/used across the globe Get insights on how the app is used Get insights on howContinue reading “Flutter for Line Of Business apps – Logging”

Flutter for Line Of Business apps – Async initialization of services during startup

Startup phases: Bootstrapping the native platform code Bootstrapping the Flutter code Normal application state where user interaction is allowed Bootstrapping the native platform code The first thing that happens when a Flutter app starts, is the bootstrapping of the native platform code. This piece is responsible for showing the splash screen and creating a containerContinue reading “Flutter for Line Of Business apps – Async initialization of services during startup”

Flutter for Line Of Business apps – Local datastore, SQLite

History At the time I was programming apps for Windows CE and Windows Mobile, we used SQL CE. It integrated nicely with the Visual Studio tooling at that time and it was easy to work with. The downside of SQL CE was the likelihood of database corruption. The corruption could occur if the battery wasContinue reading “Flutter for Line Of Business apps – Local datastore, SQLite”

Using Flutter for Line Of Business apps – State management with provider

History When I started exploring Flutter, there was (and there still is) a lot of discussion about state management. At that time, Google promoted Inherited Widget as the way to propagate information down the widget tree. I tried Inherited Widget, and indeed with some extra code, you could use it to make your state accessibleContinue reading “Using Flutter for Line Of Business apps – State management with provider”

Flutter for Line of Business apps – Splash screens and launch icons

Adding splash screens and launch icons is always a pain. It must be done, and, it must be done right. You only get one chance to make a first impression. Luckily I had a UX designer that provided all the assets in the right sizes. Because I had all assets in the right sizes, IContinue reading “Flutter for Line of Business apps – Splash screens and launch icons”

Flutter for Line Of Business app – Theming

When you receive a design from a UX designer, from for example Zeplin, everything is specified: Colors Fonts (Name, Size, Style) Margins and padding of the elements As in the Flutter counter-sample project, I started in my project with changing the primary color: But then I quickly realized that the primary color is a specificContinue reading “Flutter for Line Of Business app – Theming”