r/FlutterDev • u/eibaan • Oct 11 '23
Discussion Is development of new Flutter feature slowing down?
I got the impression that Flutter development slowed down in the last few months. So I classified all commits of the last 30 days. Theses are the ones that actually add functionality, with one exception all trivial changes. I ignored automatic "rolls", bug fixes, cleanups, test configuration changes or documentation.
Oct 11
Add SizeTransition.fixedCrossAxisSizeFactor
Add key event handlers that happen before or after the focus traversal
Sep 29
Expose onAttach and onDetach in ScrollController subclasses
Sep 28
Added option to disable [NavigationDestination]s ([NavigationBar] destination widget)
Add more fields to RefreshProgressIndicator
Add API to read flavor from framework at run time
Implement SelectionArea single click/tap gestures
Sep 27
Support ensureVisible/showOnScreen/showInViewport for 2D Scrolling
Sep 12
[New feature] Allowing the ListView slivers to have different extents while still having scrolling performance
ScaleGestureRecognizer: make pointerCount public
Was Sep/Oct just a "lazy" month, or is no one working on major features anymore?
On the Dart side – while still working on macros – they slightly improved null guards so that private final fields can now be promoted to non-null types, which is nice. I'm not sure why this can't be also done for public final fields of final classes, though.
4
u/samrawlins Oct 12 '23
I think it's a really interesting question (though, disclaimer: I work on the Dart team :) ). Your metric isn't a bad one, I don't think, but the time scale is too short. A lot of things could make one month look much slower than the previous or the next. I suspect even a 3-month window is too small to derive any meaningful conclusions.
As others have mentioned, there has been and continues to be a focus on technical debt, which just really won't show up as something interesting to users.
And if you like poking around commit logs and want to keep pulling this thread, I'd suggest looking at a few of the other repos in the flutter org on GitHub, like the packages repo, engine, and maybe others.
2
u/eibaan Oct 12 '23
Okay, let's do this more systematically. A
git log --oneline --since=2023-07-01 --until=2023-10-01 | wc -lshows 1590 commits in the last 3 months (Q3). If I ignore all commits that contain Roll, Fix, Revert, Reland, Flaky, Bump, Refactor, Update or Test, there are still 341 commits (21%). Those are to many to check them manually, but judging from the commit lines, 1 in 20 describe something new. Everything else is maintenance, like improving documentation or adding examples, etc.For Apr-Jun (Q2), I count 1436/366 commits (25%) For Jan-Mar (Q1), I count 1411/458 commits (32%) For Oct-Dec (Q4), I count 1299/362 commits (28%) For Jul-Sep (Q3), I count 1744/360 commits (21%)
So at least by just counting commit lines, there is a small decline, but productivity is similar to last year, so everything is still okay :)
13
u/vinivelloso Oct 11 '23
Its hard to say without comparing to the other months. But it was convenient of you to omit the effort given to bug fixes or general improvements.
I mean, if you going to show us data and make us draw conclusions, at least give the full picture.
5
u/toastytheloafdog Oct 11 '23
This is just how release cycles go.
A major update releases.
For a while, the main focus will be fixing issues and adding minor changes to that major release. That means frequent small releases.
Gradually developer focus will shift from bug fixes and minor changes to developing the next major release, which will have many large changes. That means less frequent and smaller releases until the next major release.
Next major update releases, the cycle begins again.
4
Oct 12 '23
In Flutter Roadmap for 2023, it's mentioned that this year the team's main area of focus in impeller, wasm-gc and clearing the technical debt/ issues. A framework needs to be without bugs and as Flutter has grown to be a great framework, the team is talk time to remove issues, write better docs and make the framework as smooth as possible with major engine upgrade of Impeller and great web support with Wasm.
A lot of stuff has been happening too, like multiple windows, etc but you don't get to see it in commits unless they are completed. No one is lazy in the team.
2
u/esDotDev Oct 12 '23
^ This, it seems as though the teams focus lately has been on Impeller and improving performance of Web, rather than adding more features, which imo is a good thing.
2
u/agustincards14 Oct 11 '23
I think the rate of progress of any venture normally plateaus the more mature it gets.
2
u/Samus7070 Oct 11 '23
It’s hard to judge how much effort is behind each of those bullet points. I would be curious to know how many lines of code were added or deleted. It isn’t a good metric but it does add some context. Comparing the latest tag to the previous release shows 18 commits by 9 people. 70 files were changed with 9,545 additions and 806 deletions. Each change can be one or more lines of code. That looks like a good amount of work being done. Maybe a large part of it is stability and performance related only. That’s what the roadmap says is the big focus.
1
u/kbcool Oct 12 '23
It's called maturity. It now does most of what you need so from here on its just going to be twiddling and adding some small features here and there.
1
u/ishu22g Oct 11 '23
OP One thing I learned about this reddit flutter community (I am telling this to you in secret): never ask about negatives of flutter.
You will get more hate and than answers and will be treated as an offender.
Btw I am yet to discover where can I ask about genuine questions about negatives (or perceived negatives) of flutter. If anybody knows, please reply
1
u/Mysterious-Wonder-38 Oct 11 '23
Why would they work on new features, when they are going to abandon Flutter in 2024?
/s
1
-2
u/SeaAstronomer4446 Oct 11 '23
Yep cauz google said they gonna abandon flutter in 30 years thus most flutter developers is currently migrating to a upcoming non existing framework where it won't get abandon,
(Jkjkjk)
2
u/SuccotashComplete Oct 11 '23
To be fair the worry that google will abandon the framework is a pretty legitimate concern
1
u/charliesbot Oct 11 '23
What's the latest framework that Google has abandoned?
Not talking about customer facing products. Talking about frameworks / languages, as you mentioned
36
u/Apokaliptor Oct 11 '23
here we go again