Flutter Productivity Beast - FVM
ฝัง
- เผยแพร่เมื่อ 3 ก.ค. 2024
- FVM or Flutter Version Management is a great tool to handle your versions in Flutter and to me has become a no brainer to use 🤯
Course to build a production-ready app 👉 robertbrunhage.com/course
Full writeup: robertbrunhage.com
👉 Have additional questions, join Discord: / discord
Want to support me?
♥ Patreon: / robertbrunhage
♥ BuyMeACoffee: buymeacoffee.com/robertbrunhage
♥ Paypal: paypal.me/robertbrunhage
····················································································
You can find me on:
● Website: robertbrunhage.com
● Twitter: / robertbrunhage
● Discord: / discord
····················································································
😎 Subscribe: bit.ly/2SUyRhx
00:00 Overview
01:02 Setup
01:08 Usage and Configuration
Got feedback from the creator of FVM that I had a kernel error when running the commands "Can't load Kernel binary: Invalid SDK hash"!
This was resolved by following this fvm.app/docs/guides/faq/#environment-variables-order-for-windows-in-path
So in my case this is my path in order
C:\Users\Robert\AppData\Roaming\Pub\Cache\bin
C:\src\flutter\bin\cache\dart-sdk\bin
C:\Users\Robert\fvm\default\bin
This is nice... I think an app versionning tutorial will be great too!
yh app versioning issa painnnn
pushing to playstore with 1.0.2+0 wont work from 1.0.0+21 because apparently playstore doesn't care about anything before the + sign *sigh*
This is every powerful, thanks!
This video is real diamond
awesome now I'll start using this!)
Thanks !!
I've been using fvm ever since you mentioned it on an earlier video of yours 😁😁❤️ thx
Niiiice!
Please do more video on complex stuff on flutter❤
This is awesome....are you trying to be the Fireside for flutter. Same cadence and style.
Thanks for the video, what is the name of your vs code theme?
I have been struggling with fvm for the past 3 days. In my windows system, I always get "''pub' is not recognized as an internal command". Also I have to run it as an administrator. Adding to this I used the command '
flutter pub cache repair' which broke fvm (twice...). My last year's work on 2 apps that is heavily dependent on (the problematic) flutter_sequencer plugin stopped working. I am now having errors that I haven't been able to solve because I need to use different NDK and CMake versions. Now it seems I also need a different dart version... I tried fvm 2 months ago and quitted using it. I was hoping to have it working this time. Man, this sucks...
great video.
if i already have flutter sdk installed can i add it to fvm instead of reinstall it again.
and how to change fvm path i don't want to download any sdk to c:/ partition
links must be in description man
I am using macOS, I installed fvm globally and installed flutter stable and set it as global, however, when I navigate to my project DIR and run fvm use stable, it shows stable isn't installed.
why do you use 'fvm use ..' in the visual studio code instead of the terminal?
2nd! great video for me !
Awesome, Thank you!
i thought u will cover flavor also
Can we use two different versions of the same channel or is it just channels?
Yes you can specify specific versions and even git commits of the sdk
I really like your videos especially those that talking "best practice". I am searching a solution for a "problem" that annoys me. Writing a application with, let says 15 pages also means 15 classes with the same boiler plate for creating a Scaffold and populate it with buttons etc. A lot of repeated code which a understand is bad.
So any suggestions how to avoid repeating code fragments.
There are multiple different ways, one way you can do it is creating a new class/widget that has a scaffold, takes a child, callbacks and so on.
Another way is just making classes/widgets of those things that are reused a lot such as the buttons!
@@RobertBrunhage I have tried to do that (class with scaffolds) but for mee it ends up in a mess. For example, when my application is dependent on access to a Server and if I loose connection to the server user should be informed. The "scaffold" class tends to me big, and repeat that many times....
I wish I can upgrade all channels simultaneously with one command...
Is there any tutorial for CI/CD?
I have two on my channel 😎
One with CI/CD in general with github actions and one with Codemagic (a lot older)
fvm global stable , "Could not find a command named "global"."
Thanks!!!