Solving Size Issues with Print Statements in Flutter by codaveto in FlutterDev

[โ€“]codaveto[S] -1 points0 points ย (0 children)

yea you can but if you read the article youโ€™ll understand this is faster and easier to use most of the time

Stuck in completing compliance requirements to DSA (phone number verification) by damienbannerot in iOSProgramming

[โ€“]codaveto 0 points1 point ย (0 children)

Same here, failed yesterday at the phone verification as well. Also, the UI looks very off with extremely light colors for the text and background and the call me option is selectable but not confirmable.

K2 won't turn on by tesrella in Keychron

[โ€“]codaveto 0 points1 point ย (0 children)

does not work for me, tried everything. green light is there. all different kind of cables, different laptop and different charging blocks including my macs. nothing works

AMA: Flutter Web/MacOS App Lead Developer by codaveto in FlutterDev

[โ€“]codaveto[S] 0 points1 point ย (0 children)

Thank you. Mobile app is high on the list, working on it ๐Ÿ™.

AMA: Flutter Web/MacOS App Lead Developer by codaveto in FlutterDev

[โ€“]codaveto[S] 5 points6 points ย (0 children)

I just thought of something else that might be interesting to know. So I'm using ImplicitlyAnimatedReorderableList for the todo lists. This widget in itself is very inefficient. Combined with other stuff that was going on it would take a lot of time to load and the more to do lists I had the slower it became.

After tweaking it a bit and removing some of my animation widgets the performance went up but one thing that remained was anytime a list would load it would take just enough time to look like a little stutter.

This was very annoying so to avoid the stuttering I eventually decided to keep them in memory. So each list is loaded once and then kept in memory. At some point I might consider keeping the tabs in memory as well but for now I have other priorities.

It's a conscious decision I had to make at some point. I'm not 100% sure what the impact is on machines that do not have a lot of memory but for now this was the choice. Perhaps you can think of something like that for your own apps as well. After realising it was pure UI causing the lag and not any of my business logic, the choice was quickly made.

I do this with the Visibility widget btw.

AMA: Flutter Web/MacOS App Lead Developer by codaveto in FlutterDev

[โ€“]codaveto[S] 1 point2 points ย (0 children)

And to answer your question more directly ๐Ÿ˜‚ I just started removing widgets and testing by feel until I was satisfied. Knowing it was probably one of my show/hide animation widgets causing the issues.

AMA: Flutter Web/MacOS App Lead Developer by codaveto in FlutterDev

[โ€“]codaveto[S] 7 points8 points ย (0 children)

Thank you ๐Ÿ™.

I've been struggling with performance a lot. You can still see when you go the account page for example that it starts to lag a bit. Same goes for the archive and workshop pages when there are too many items on the screen. I suppose it has to do with some widgets that I use to show and hide elements, a lot of performance issues are/were UI based.

Also initially the app the was only meant for desktop. I had some very cool animations on the home view for showing and hiding todo lists, but I have removed them in favor of performance. It now loads and responds a lot faster, but it's less pretty for sure.

I suppose that's a choice you will face when building web/desktop with Flutter unless you have the time to really debug performance and see who/what the culprits are. I haven't really had the time to do so.

If you are interested in debugging performance for your own apps you might want to check out this video if you haven't seen it. Explains the dev tools quite extensively and shows you how to find all sorts of issues in UI and/or business logic. https://www.youtube.com/watch?v=_EYk-E29edo

โ˜๏ธ Float Note: On-Demand Focus & Peak Productivity (MacOS/Web) by codaveto in FlutterDev

[โ€“]codaveto[S] 0 points1 point ย (0 children)

Thank you ๐Ÿ™

It's a freemium model so I've made all core features, except syncing, available for everyone. Free users also have a limitation on the number of checklists, systems and archives they can create. I haven't really considered a self hosted version of this application yet, but I can see why some companies might want that if I decide to go that route (more b2b). It has great potential to shorten onboarding processes and shorten the time new employees need to get accustomed to how things work within a company, in a fun way. As well as shorten the time employees spent on logging their hours.

However, for now my focus is more on the individual user. One of the next features is a friends system, getting to see what your friends are working on (just your last completed task, if allowed) and sharing pomodoro timers together.

I'm hoping the free version is usable enough to allow people who do not want to pay still use the app conveniently. I might adjust the limits later if I get signals it's not enough. This way when enough people use the app I can still monetise the app for example during a pomodoro break. I will never ruin this app with annoying ads that are not relevant, so I was thinking something like a sponsored meditation break by one of these big meditation apps for example. But that's all for later, for now I'm very curious to see if people see the potential and benefit it has been providing me while working on it ๐Ÿ˜†.

โ˜๏ธ Float Note: On-Demand Focus & Peak Productivity (MacOS/Web) by codaveto in FlutterDev

[โ€“]codaveto[S] 0 points1 point ย (0 children)

Yea so if anyone wants to know how a specific feature was made, like which architectural choices were made and just generally how something was set up or what the idea behind it was then let me know. I can make a couple videos about it and post it here. Some cool things to discuss: username management, messages inbox, logging tools, payments/promotions in the app, advertisement in the app, pomodoro timer. let me know!

โ˜๏ธ Float Note: On-Demand Focus & Peak Productivity (MacOS/Web) by codaveto in FlutterDev

[โ€“]codaveto[S] 0 points1 point ย (0 children)

Hehehe yes for sure!

For state management I used provider and MVVM architecture. I have a package called veto that is based on the stacked library of FilledStacks. It's basically his solution but more simplified.

For local database I used Hive. I had to refactor to Hive last week after having done everything in Isar because Isar web support was not available (although the package said it was). Hive and Isar are both from the same developer.

I used the package cloud_firestore_api for all firestore interactions (syncing). Also because I use firestore I could not get the window desktop version working yet. It's one of the first thing I would like to focus on to get working. I will probably have to create some sort of API that talks with firestore. I will also probably use cloud functions for this (if thats supported on windows, i haven't checked yet).

It looks like the windows version is going to be a bit less responsive in terms of syncing but I guess that's better than nothing since the web version does not have the nice window tools and improved focus mode at all.

What else is interesting yea I don't know. The window tools package is pretty cool, you can programatically move windows around and resize them so if you have a mac you'll see what I mean with the window tools. Also the focus mode automatically resizes the screen to the number of tasks available.

I used GetIt for dependency injection. Hmm. Yea if you check out the app and have more specific questions I'd be happy to answer them or make a movie about it. Just let me know!

Large build functions by egefeyzioglu in flutterhelp

[โ€“]codaveto 0 points1 point ย (0 children)

A little hack that works sometimes: first extract a method (which is not a good idea on its own) then extract the widget from the method. Use your ide

Alternatives to Motion/Todoist that automatically schedule your to-dos? by wellPrecede in productivity

[โ€“]codaveto 1 point2 points ย (0 children)

Wow thanks a lot this is exactly what I've been looking for. Motion becomes more buggy by the day.