Skip to content
0:00 / 0:00

#dart#flutter

Top 16 Dart Tips and Tricks Every Flutter Developer Should Know

Andrea Bizzotto

41K subscribers • 17 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Andrea Bizzotto

Intermediate. Assumes working knowledge.

60K views5 years ago1 recommendation

Programming languagesFlutter and React Native

Andrea Bizzotto shares sixteen Dart language tips and features to help Flutter developers write cleaner and more efficient code.

Written tutorial here: 👇👇 codewithandrea.com/videos/top-dart-tips-and-tricks-for-flutt… In this tutorial I share 16 Dart top tips that will improve your coding style as a Flutter developer. You can use them to write more concise and effective code, and make the most of the Dart language. CONTENTS - Intro - 1. Dart supports string multiplication. - 2. Use Future.wait to execute multiple Futures concurrently - 3. Dart callable classes - 4. How to invoke nullable callbacks - 5. Using anonymous functions and functions as arguments - 6. You can use collection-if and spreads with lists, sets AND maps - 7. Iterating through a map in a null-safe manner? - 8. Use named constructors and initializer lists for more ergonomic APIs. - 9. Getters and setters - 10. Use underscores for unused function arguments - 11. Singletons and private constructors - 12. Need a collection of unique items? Use a Set rather than a List. - 13. How to use try, on, catch, rethrow, finally - 14. Common Future constructors - 15. Common Stream constructors - 16. Sync and Async Generators - Wrap Up Complete Dart Course (with discounted price): nnbd.me/dart Join my FREE email course to become a Flutter expert with the best resources, at your own pace: codewithandrea.com/newsletter/ Happy coding!

Why it's here

1 person recommends this

u/bizz84in r/FlutterDev • Recommends

Top 16 Dart Tips and Tricks Every Flutter Developer Should Know