Records & Patterns - Get started with the newest addition in Dart 3.0
Vložit
- čas přidán 27. 07. 2024
- Today we want to take a look into #Records & #Patterns the newest addition that has been introduced with #Dart 3.0. We will take a look what records are and how they work. After that we will have a deep dive into different options of pattern matching and how you can make the most out of them!
You would like to support this channel? Join me on Patreon: patreon.com/dev_cafe
You search for a Mentorship tailored to your needs from A Software Engineer Expert? Checkout flutterexplained.gumroad.com/...
Timestamps
00:00 Welcome to Flutter Explained
00:11 Deep Dive into Records
01:53 Pattern Matching with Records - Deconstruction
06:53 Swap pattern
07:42 What to do with unused deconstructed variables?
08:00 Patterns are not limited to Records
09:33 Important note to Package Maintainers
10:32 Outro
-----------------------------------------------------------------------------------
CZcams ►► / flutterexplained
KICK ►► kick.com/devcafe
MASTODON ►► fosstodon.org/@flutterexp
MATRIX ►►bit.ly/flutter_explained_matrix
DISCORD ►► / discord
-----------------------------------------------------------------------------------
My Streaming Setup ►► kit.co/flutter_exp/flutter-ex...
-----------------------------------------------------------------------------------
Other Videos:
Client & Server Architecture: • Client & Server Archit...
Files and Folder Structure in Flutter & Dart: • Files and Folder Struc...
Realtime Communication with WebRTC: • Realtime Communication...
Why I love Flutter: • Introduction into Flut...
-----------------------------------------------------------------------------------
Additional Tags: Flutter, upgrade, video, tutorial
Thanks For Watching!
#FlutterExplained - Věda a technologie
Thanks for watching :). I hope you liked my deep dive in Records and Patterns and if you have some time it would be great if you could join me on kick.com/devcafe. Thanks and see you there!
developing my app while seeing this video just for information and fun to learn
but this made my work easier
I was just creating a model for returing many datatype from one function but by records it helps to work without creating extra model
thanks
can you explain List.from() , please
switch case topic in NEXT