Dom Jocubeitdjocubeit.hashnode.dev·Jul 13, 2023Exploring Dart 3.0's Powerful Pattern Matching and DestructuringDart is a versatile programming language and has introduced new features that enhance code expressiveness and development productivity. Among these features, pattern matching and destructuring stand out as powerful tools. In this article, we'll delve...Discuss·2 likes·183 readspattern-matching
Dom Jocubeitdjocubeit.hashnode.dev·Jul 3, 2023Replacing tuples with recordsWith the release of Dart 3.0 came a new feature -- records. You can learn about records in the Dart language documentation. For those unaware, to paraphrase: records are an anonymous, immutable, aggregate type. Records let you bundle multiple objects...Discuss·2 likes·54 readsDart 3.0
Unimke Adiechibidev.hashnode.dev·May 17, 2023App-wide Theming with Riverpod Generator.This article assumes you are familiar with Riverpod 2.0 and code generation (like Freezed) and want to use them in your app. For an in-depth explanation of Riverpod generators and the new Riverpod syntax, check out this and this by Andrea. What we'll...Discuss·11 likes·336 readsFlutter for MobileFlutter
Anas FIKHIgwhyyy.hashnode.dev·May 14, 2023Destructuring Feature in Dart 3?Introduction Dart is a modern, object-oriented programming language developed by Google. Originally designed as a replacement for JavaScript in web development, Dart has evolved to become a versatile language used for mobile, desktop, and server-side...Discuss·2 likes·66 readsDart
Kanan Yusubovyusubov.hashnode.dev·May 12, 2023New features in Dart 3.0Patterns According to documentation: In general, a pattern may match a value, destructure a value, or both, depending on the context and shape of the pattern. What can we do with Patterns? Let's deep dive into the examples. We can get elements of t...Discuss·1 like·885 readsDart
Srushti Patelsrushtipatel.hashnode.dev·Mar 8, 2023DART 3 (alpha release)DART 3 is a new major release - only supports sound null safety. DART 3 comes with two new MAJOR FEATURES - "RECORDS AND PATTERNS" , with the goal to work with structured data more productively. Records : “ Allows us to combine multiple datatypes to ...Discuss·97 readsDart 3.0
Moksh Mahajanmokshmahajan.hashnode.dev·Feb 18, 2023Simplifying Multiple Returns in Dart 3.0 with RecordsSometimes we run into a case when a function logically needs to return multiple values. Some examples are returning coordinates of a point, returning some statistical data, returning error information like the error code and the message, etc. The tra...Discuss·4 likes·5.9K readsDart