Replies: 2 comments 2 replies
-
|
Hi @goerlitz! |
Beta Was this translation helpful? Give feedback.
-
|
Actually, I'm using a dart 3.0 features a lot because it makes the code cleaner, more robust (e.g. null safety, exhaustive matching) and often more readable. I checked the smooth-app - it also uses Disclaimer: the PR I'm working on heavily relies on Dart 3.0 features. ;) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'd like to propose updating the SDK constraint in
pubspec.yamlto:This change would allow us to use modern Dart 3 features, like pattern matching, records, switch expressions,
sealedclasses etc., which are not available in Dart 2.x. For instance, pattern matching and better exhaustiveness checking improve the maintainability of logic in the code.Dart 3.0 was released in May 2023 and has seen broad adoption. Raising the minimum SDK would align this package with the current Dart ecosystem and open the door to more modern and expressive language features.
Please let me know if you're open to this change or if broader SDK support is a requirement for this project.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions