r/FlutterDev • u/zigzag312 • Sep 29 '26
Discussion Are augmentations being delayed?
Augmentations feature has moved from Being implemented column where it has been for months into Being spec'd column. Does this mean no augmentations feature this year?
Sidenote: I just saw the Dart 4 label. Any info on why the major number jump is going to happen? Breaking changes?
13
Upvotes
5
u/munificent Sep 30 '26 edited Sep 30 '26
We are still working on it, but it's been a very tricky feature that doesn't want to settle down and behave itself. It seems to interact in complex ways with many corners of the language and untangling all that has been a challenge.
Augmentations definitely won't happen
nextthis year, but I'm hoping to get the proposal in a good state soon and then we'll see what the implementation looks like. We know a lot of people want the feature. We do too! It's just a hard one to get right. Dart has a lot of syntax sugar, and a feature that lets you merge multiple syntactic entities together interacts with that in complicated ways.7
u/eibaan Sep 29 '26
Regarding Dart 4, I saw that they want to remove (at least) mirrors and the old function type syntax and the old
new Constructor()call syntax. mirrors are deprecated in Dart 3.14. Also, they want to get rid of the Dart spec written in LaTeX (?) and rewrite it in HTML. But I've no idea of whether there's already a date for a 4.0 version.Regarding 3.14, I still hope they will at least finish static extension methods for that version, which would make dot shorthands more useful, but I'm afraid that also gets delayed.
Right now, 3.14 will be a very boring release with practically no new features other some new simd types.
4
u/eibaan Sep 29 '26
Probably too many open issues, for example this recent change
3
u/joe-direz Sep 29 '26
I am also very curious about augmentations. There are tons of things we can do with it.