This tutorial is a complete introduction to Dart extensions, a language feature that was added in Dart 2.6.
INCLUDED
- How to enable extensions inside an existing Flutter project
- What extensions are, and where they can be used to improve our code
- Where they should not be used
HIGHLIGHTS
- 00:32 - Enabling extensions in your Flutter project
- 01:56 - Example: Temperature Conversion
- 04:34 - Extensions with Generics
- 06:06 - Extending existing Flutter types
- 08:10 - Extensions with static methods
- 10:19 - Top Tips
- 11:36 - The DartX package
- 12:04 - The styled_widget package
Full transcript here: https://codewithandrea.com/videos/2019-12-02-dart-extensions-full-introduction/
Thanks for watching!
#dart #flutter #mobile-apps