Skip to content
Videos
Video

Super Enum ๐Ÿ’ช Dart & Flutter Tutorial โ€“ Store Custom Data

by Reso Coder youtube.com

24 min 12.6k views

๐Ÿ“— Learn from the written tutorial ๐Ÿ‘‡๐Ÿ‘‡ https://resocoder.com/super-enum ๐ŸŽฏ The biggest Flutter conference in Europe: https://fluttereurope.dev ๐Ÿ“ง Get Flutter news ๐Ÿ“ฐ and resources: ๐Ÿ‘‰ http://flutter.education ๐Ÿ‘จโ€๐Ÿ’ป Do you write good code? Find out now! https://resocoder.com/good-code-quiz Enumerated types in Dart have always been not so useful, compared to other languages. You cannot store additional data in them and using the regular switch statement is a pain. However, when you use a package called super_enum, you can bring a bit of the enum glory to Dart over from Kotlin. In this tutorial, you're going to learn about super_enum in Flutter by building states and events for a BLoC used for displaying weather forecast. It's OK if you're not at home with BLoC - we're not going to touch it much. Of course, you can use this package in any Dart project and for any occasion. Go to my website for more information, code examples, and articles: โ— https://resocoder.com Follow me on social media: โ— https://instagram.com/resocoder โ— https://www.facebook.com/resocoder โ— https://twitter.com/resocoder

Forum

Questions about this, or something to add?

Discuss on the forum

Topics Bloc

Report this ยท Wrote this? Claim it

Supported by