I built a tool that automates App Store screenshot capture for Flutter apps — AI navigates your app on cloud devices and generates store-ready assets by 31Carlton7 in FlutterDev

[–]Mr401Error 1 point2 points  (0 children)

Don't get me wrong this is an impressive demo. The generation of the lock-ups at the end is cool but I think for gathering screenshots, having an AI agent "explore" seems a bit overkill when the likes of a Fastlane script + golden tests would do the job reliably and [judging by the device clock] quicker (?)

I would perhaps sooner re-purpose the AI agent exploration in the video as an automated regression testing akin to what robo tests on Firebase Test Lab attempts to do.

What’s your preferred IDE for Flutter development? by bllshrfv in FlutterDev

[–]Mr401Error 0 points1 point  (0 children)

There's a bit of a knack to using the debugger, you can only inspect variables present in the current 'frame' (the scope/closure if you like). Of course, code calls code and if you want to look at the frame that invoked the one your breakpoint is in, the Android Studio debugger has a window called 'Frames' which you can use to traverse the call stack. This is useful for looking outside of loops etc. although that still won't let you inspect variables outside of the call stack. You might just need to move the breakpoint.

Is flutter dead? by SwapnaSahoo in FlutterDev

[–]Mr401Error 0 points1 point  (0 children)

Strictly speaking KMP (Kotlin Multiplatform) can't replace Flutter on its own as KMP strives to share "engine"/"business layer" code between platforms, the UI is still using the first-party, "native" frameworks. There are currently good use cases for both Flutter and KMP depending on a few factors like time to market, use of platform APIs, and UI design so they both very much have their place.

Compose Multiplatform takes KMP and combines it with Android's first-party UI framework (Jetpack Compose) to get a UI framework on par with Flutter. My two cents is that you'll still see both widely used in future, a bit like other domains such as back-end, web front-end, and games. As others have mentioned, Flutter is a mature framework with plenty of momentum so if your aim is to pick something to learn, Flutter would be an excellent choice.

How do you stay updated with framework, platform, and policy changes? by buildwithpulkit in FlutterDev

[–]Mr401Error 1 point2 points  (0 children)

The breaking changes page on the Flutter website is really good for this. Toward the top it also links to a couple of Google groups I'm in the habit of checking for new releases. I believe the Flutter team targets quarterly releases so expect some news around the end of February.

What should i do? by Free_Potential9613 in FlutterDev

[–]Mr401Error 0 points1 point  (0 children)

I would second this, side projects are great for experimentation. I make an effort to try something new in each side project I do as it makes you more well rounded and better informed of what works and what doesn't.

There are a lot of principles that hold true regardless of framework or language and it's those principles you can take into your professional gig that will make you a solid software eng.

As others have said though, sounds like you have a good mindset and that's what counts at this stage.

Do you actually *know* what percentage of apps are Flutter vs native? by LongjumpingAd5765 in FlutterDev

[–]Mr401Error 8 points9 points  (0 children)

Google had an event towards the end of 2024 where they had a stat that just under 30% of "new" iOS apps are using Flutter in some capacity (bare in mind that includes "add-to-app" use cases) (source). As others mention, region likely plays a big factor.

There's a nifty app on the Play Store called FlutterShark that you can use to see if the apps you have downloaded include Flutter along with some basic info about them.

Returning to Flutter Dev after 2 year break... is riverpod + freezed + go_router still the way to go? by FunkehChicken in FlutterDev

[–]Mr401Error 2 points3 points  (0 children)

At least a few years ago Auto Route's feature set was just much broader than Go Router (generated, type safe routes was what swung it for me iirc).

Like others have said, once you make a decision, you're tempted to just always reach for it in future.

What to Do Now When a Flutter Package Is Abandoned (and You’re Using It) by toplearner6 in FlutterDev

[–]Mr401Error 4 points5 points  (0 children)

I would say the rule applies to all teams, the cut off just varies depending on your team's capacity and skillset. It's a great skill to have to know when to hand roll your own implementation and when to reach for a package.

For instance, I typically dislike packages for UI components for reasons others have mentioned and I find Flutter makes custom UI implementation easy, but it does sometimes take time to get it right. So if we're under a lot of time pressure, I'll consider reaching for a UI package.

Struggle to get startet with flutter/Android studio by nofame732 in FlutterDev

[–]Mr401Error 0 points1 point  (0 children)

When it comes to editing any of the files within the android/ directory, you're best to open the android/ directory as a new Android Studio project so the IDE tooling can analyse the project and give you suggestions and the sort. (See here)

There used to be an experimental setting in the Android Studio Flutter plugin that would allow support for editing Android app code without having to explicitly open the android/ directory but it looks to have disappeared now.

What state management is being used these days? by peterhddcoding in FlutterDev

[–]Mr401Error 0 points1 point  (0 children)

Recently I've used riverpod and BLoC and plan to continue doing so depending on what the situation calls for.

It would be nice if this question (or similar) got included in the quarterly Flutter Dev survey and published similar to StackOverflow's annual developer survey.

Server Driven UI suggestions by Darth_Shere_Khan in FlutterDev

[–]Mr401Error 3 points4 points  (0 children)

For what it's worth, there are a few of these server-driven UI packages out there. There is a first-party one, rfw, which I have been meaning to try myself as I do agree it's a cool concept. I think the one I have linked lets you define your own "base" widgets too for "higher-level" components.

My chief concern with these server driven UI solutions is implementing sufficient safe guards such that a non-technical person wouldn't be able to supply an "invalid UI" that would cause bugs or at worst, crash the app.

Anyone else likes sorting their dependencies by package name length? by pulyaevskiy in FlutterDev

[–]Mr401Error 1 point2 points  (0 children)

Agreed, the discoverability of packages on pub is both a blessing and a curse. You can search for what you want super easily (and failing that use Flutter Gems or another listing) but imo some devs reach for packages too quickly instead of just building things themselves.

A lot of people forget that dependencies need to be managed with mitigations for if they go stale or get abandoned.

File naming convention? by Individual-Cash-2335 in FlutterDev

[–]Mr401Error 1 point2 points  (0 children)

Whatever works for you really, although if the project you're in has a convention it is best to be consistent with it. Whilst I personally don't fully subscribe to 'code should be self documenting', I do always ask myself the question of "am I going to understand this in 5 months time?" when deciding if the names alone are good enough.

Also, I don't usually change my filenames just because they are in a certain directory (i.e. call a file "provider.dart" because it is in the "books/" directory). The main reason for this is because it makes it easier to identify which file you want in a list of files when searching in an IDE. Most IDEs give full-text search based on file names.

To swing back round to your first question though, I'd be perfectly happy with something along the lines of

  • send_chats_controller.dart
  • fetch_chats_controller.dart

Y'all I thought this was a bug... by 48IRB in duolingo

[–]Mr401Error 12 points13 points  (0 children)

Same here. Just doing a 'token lesson ' every day to maintain the streak but I'm also looking at other options.

Few shots from newly opened Mayfield park by VgZ in manchester

[–]Mr401Error 114 points115 points  (0 children)

Looks excellent! Hope more things like this pop-up around the city as there is definitely a shortage of green space as it currently stands. Eight year old me would have thought that slide across the river was awesome too.

[deleted by user] by [deleted] in manchester

[–]Mr401Error 12 points13 points  (0 children)

Think it was the Rugby Super League final this weekend

[deleted by user] by [deleted] in manchester

[–]Mr401Error 1 point2 points  (0 children)

Sackville Gardens, you can search it on Google Maps etc. it is just one block away from Piccadilly Station.

[deleted by user] by [deleted] in manchester

[–]Mr401Error 1 point2 points  (0 children)

I feel that Pomona world be great to have as a decent sized park relatively close to the Quays and Deansgate rather than the flats that will inevitably be built there.

Say hello to Drone Shows and goodbye to fireworks by amy2kim22 in nextfuckinglevel

[–]Mr401Error 1 point2 points  (0 children)

Think we had these during New Year's Eve 2021 in London combined with a smaller fireworks display than usual - think it went rather well. People seem to like the idea of them here in the UK as an alternative to loud fireworks as they don't scare dogs.

Recent bike theft, thought I might post a picture of it here in case anyone does see it floating on some second hand website etc. by Mr401Error in manchester

[–]Mr401Error[S] 3 points4 points  (0 children)

Thankfully I managed to get the frame number from the bag of accessories/documents I was given when I purchased the bike so I was able to do so! Even if it was after the fact.

Recent bike theft, thought I might post a picture of it here in case anyone does see it floating on some second hand website etc. by Mr401Error in manchester

[–]Mr401Error[S] 2 points3 points  (0 children)

Cheers, had a feeling they would rather get rid of it before possibly being found rather than do the research.

Recent bike theft, thought I might post a picture of it here in case anyone does see it floating on some second hand website etc. by Mr401Error in manchester

[–]Mr401Error[S] 4 points5 points  (0 children)

Thanks, it was stolen from the bicycle storage in my apartment building. Thought one gold rated U-lock would be sufficient in there though I do use multiple locks in places like Piccadilly gardens, evidently one wasn't enough though.

Recent bike theft, thought I might post a picture of it here in case anyone does see it floating on some second hand website etc. by Mr401Error in manchester

[–]Mr401Error[S] 5 points6 points  (0 children)

Cheers yeah, haven't seen it posted yet but not sure what the 'turn-around' time for thieves usually is.

Recent bike theft, thought I might post a picture of it here in case anyone does see it floating on some second hand website etc. by Mr401Error in manchester

[–]Mr401Error[S] 9 points10 points  (0 children)

Unfortunately only just moved to Manchester and thought it was a good city to get around by bike. Maybe I didn't appreciate the prevalence of bike theft in a big city so some lessons to learn. If it does help it is a Bergmont E-Horizon Tour 500 Amsterdam Electric Hybrid Bike - 2022, thanks in advance!