
The place for Flutter Developers from @Azerbaijan and all over the world to get info about Flutter/Dart. @FlutterDev
Azerbaijan, Baku
Joined July 2020
- Tweets21
- Following59
- Followers150
- Likes61
Do you know it?
In Riverpod, you can handle auto disposed (scoped provider) provider using maintainState. If it is false, it will dispose the value of provider.
Note: After 2.0.0 version, it is replaced with ref.keepAlive().
#flutter #dart #flutter_tips #state_management
1
Do you know it?
You can create simple sh scripts to run commands more easily. Also, we can integrate it with Fastlane to build beta, producation releases more easily.
For tutorial (Thanks to @10VBacik)
lnkd.in/e4JYRcJA
#fastline #scripts #automatedpublish
If you have same scenario like Initial, InProgress, Failure, Success states for BLoC, you can create SuperBlocBuilder like the following for DRY (Don't Repeat Yourself).
#dart #flutter #fluttertip #flutter_tips #google
Fluter Tips #1
You can call translate method in any String that uses AppLocalocalizations to translate String.
! It is important to call translate method with keys
defined in language jsons - en.json and so on.
#flutter #flutter_tips #programming #google




