MADE WITH    BY THE FLUTTER COMMUNITY
A Searchable List of Flutter Resources
Resources are sourced from Flutter Pro
    SUBMIT EVENT

Super Enum πŸ’ͺ Dart & Flutter Tutorial – Store Custom Data    Video


 
πŸ“— 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

Reso Coder
Published on Tue, December 10th 2019

 

 

IT'S ALL WIDGETS!    β€’    FLUTTER PRO    β€’    FLUTTERX    β€’    FLUTTER STREAMS