Bot releases are hidden (Show)
Published by vandadnp about 2 years ago
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
Published by vandadnp about 2 years ago
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
Published by vandadnp about 2 years ago
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
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago
Published by vandadnp about 2 years ago