Skip to content

Releases: vandadnp/flutter-tips-and-tricks

355 - FlatThen on Future in Dart

14 Sep 04:54
fcaac9a
Compare
Choose a tag to compare

If you have a Future<Iterable> and want to use "then()" on it, you will end up with the Iterable which you might need to map manually inside the "then()" function which results in a function call inside another function call, potentially making your code look more complicated than it should be. Using this extension on Future<Iterable>, you can make this a lot easier to read at call-site. Let me show you how => https://github.com/vandadnp/flutter-tips-and-tricks/blob/main/tipsandtricks/flatthen-on-future-in-dart/flatthen-on-future-in-dart.md

354 - Rich Text Construction in Flutter

10 Sep 05:13
1be376d
Compare
Choose a tag to compare

Using this custom class in Flutter, you can construct rich texts with ease. Simply provide your text or links in an Iterable and this widget will render the rest for you. For the tip and its source code, visit https://github.com/vandadnp/flutter-tips-and-tricks/blob/main/tipsandtricks/rich-text-construction-in-flutter/rich-text-construction-in-flutter.md

353 - Firestore Transactions in Flutter

07 Sep 04:16
c854859
Compare
Choose a tag to compare

Learn about Firestore Transactions and how you can perform multiple operations all in the same transaction with a timeout and number-of-retries here => https://github.com/vandadnp/flutter-tips-and-tricks/blob/main/tipsandtricks/firestore-transactions-in-flutter/firestore-transactions-in-flutter.md

352 - Image Aspect Ratio in Flutter

05 Sep 04:59
a37eb73
Compare
Choose a tag to compare

351 - Debouncing Streams in Flutter

02 Sep 09:09
5cbebec
Compare
Choose a tag to compare

350 - Reusable Alert Dialogs in Flutter

31 Aug 03:52
9b1c982
Compare
Choose a tag to compare

349 - Recursive Search in Map in Dart

30 Aug 07:26
7700d9b
Compare
Choose a tag to compare
Update recursive-search-in-map-in-dart.md

348 - Row with Spacing in Flutter

28 Aug 05:02
03206a8
Compare
Choose a tag to compare
Add files via upload

347 - Spreading Custom Classes in Dart

25 Aug 03:27
512f7ff
Compare
Choose a tag to compare

346 - StreamProvider in Flutter Riverpod

24 Aug 04:03
cd5f0af
Compare
Choose a tag to compare
Create streamprovider-in-flutter-riverpod.dart