Sign in

Dominik Roszkowski

@roszkowski.dev
303 followers 94 following 132 posts

Flutter Developer, GDE, building Visible - tracking platform for chronic illness #flutterdev

PostsRepliesMedia
Dominik Roszkowski @roszkowski.dev · 03/03/2025
You did great
040
Dominik Roszkowski @roszkowski.dev · 03/03/2025
Please don't like this post, testing 1 2 3
240
Dominik Roszkowski @roszkowski.dev · 21/02/2025
Looking forward to see scrolling and gestures snappier thanks to platform thread merging.
020
Dominik Roszkowski @roszkowski.dev · 09/02/2025
With some back and forth testing using internal app sharing on Google Play you can just use Google Play SDK APIs directly from Dart
010
Dominik Roszkowski @roszkowski.dev · 09/02/2025
Using jnigen I created bindings to developer.android.com/guide/playco... and was able to call core Android APIs directly from Dart. Isn't that cool?! Blog post coming soon :)
1172
Dominik Roszkowski @roszkowski.dev · 30/01/2025
It would help if LLMs would have a bit of scepticism included. I'm anthropomorphizing it a bit, but in my human terms I'd prefer my LLM model to say "there's not enough data to answer" than spitting fairly probable garbage that I need to sieve through :)
120
Dominik Roszkowski @roszkowski.dev · 29/01/2025
When writing I often delete entire sentences, when speaking I correct myself etc. When thinking about code I see parallel "topics" at the same time. The success of LLMs shows how predictable majority of the work we do is, though.
020
Dominik Roszkowski @roszkowski.dev · 29/01/2025
I had this feeling when the Chat GPT et al. launched some time ago - in reality this is what we do whenever we speak or write down our thoughts. You don't really know what's going to be the next word until you say it :D But on the other hand we also realize that it's not only about it.
120
Dominik Roszkowski @roszkowski.dev · 29/01/2025
Just posted some of my thoughts on Dart macros not coming occasionalflutter.substack.com/p/dart-macro... #Dart #Flutter
occasionalflutter.substack.com
Dart macros are not coming
Dart team just announced they will be stopping working on macros. I don't think it's that bad, though.
0125
Dominik Roszkowski @roszkowski.dev · 26/01/2025
Canonical says they "are hard at work expanding this availability, and we will soon release multi-window support to both Linux and MacOS-based platforms." ubuntu.com/blog/multipl... #Flutter
ubuntu.com
Bringing multiple windows to Flutter desktop apps | Ubuntu
Discover the new multiple windows support for Flutter desktop apps and how you can benefit from this new functionality.
120
Dominik Roszkowski @roszkowski.dev · 26/01/2025
It's quite cool to see community efforts to bring multi-window experience to Flutter. The popularity of it says it all, developers look for high quality multi-window support across all platforms. pub.dev/packages/des... #Flutter #FlutterDev
1172
Dominik Roszkowski @roszkowski.dev · 26/01/2025
Haha, yes, I prefer all in one apps that have at least all of my calendars and email accounts and can deal with snoozing, scheduling etc. Ideally it's native and offline first too.
010
Dominik Roszkowski @roszkowski.dev · 26/01/2025
The new one (paird) that can be downloaded from the website is Electron based. The one in AppStore (Spark 2) is native.
010
Dominik Roszkowski @roszkowski.dev · 26/01/2025
Yup I'm using the classic (non-electron) Spark. It does the job very well
110
Dominik Roszkowski @roszkowski.dev · 26/01/2025
Just found cool-looking e-mail desktop app, but it's Electron-based. Somehow with at least 3-4 other Electron apps running I'm actively avoiding them
350
Dominik Roszkowski @roszkowski.dev · 25/01/2025
Urgent and important first, then important, and make sure to do something just for yourself every now and then :)
020
Dominik Roszkowski @roszkowski.dev · 24/01/2025
One of these days today
0120
Dominik Roszkowski @roszkowski.dev · 23/01/2025
Flutter Europe conference was 5 years ago
370
Reposted by Dominik Roszkowski
Lukas Klingsbo (spydon) 💙🔥 @spydon.dev · 22/01/2025
People like @schultek.dev are invaluable in the Dart ecosystem, I'd like to give a shout-out today for his high quality packages! Examples: dart_mappable - Data classes with json support stromberry - Postgres ORM Jaspr - Web framework Who would you like to give a shout-out to? 😃
2191
Dominik Roszkowski @roszkowski.dev · 20/01/2025
Splendid repro steps!
120
Dominik Roszkowski @roszkowski.dev · 20/01/2025
Some real data before (Flutter 3.24.4) and after (3.27.1 + pub workspace) AAB size before: 142 MB AAB size after: 141 MB (including Firebase update) IPA size before: 68 MB IPA size after: 55 MB Imho the size change may be related to some of the transitive dependencies getting updated
120
Dominik Roszkowski @roszkowski.dev · 20/01/2025
I got some perf improvement in my vs code as there's only one dart analyzer context instead of 30+
220
Dominik Roszkowski @roszkowski.dev · 20/01/2025
Don't like the platform and their patterns that much as well, but it's just one I chose some time ago. Before that I would use Twitter's revue but it's long gone now.
010
Dominik Roszkowski @roszkowski.dev · 20/01/2025
Substack has better discoverability, similar to medium or dev.to. Being able to "push" blog note to hundreds of readers is way more effective than posting link to the website. I keep it on my site for redundancy and posterity ;)
110
Dominik Roszkowski @roszkowski.dev · 19/01/2025
I will try to build intent receiver and will check!
110
Dominik Roszkowski @roszkowski.dev · 19/01/2025
I've also posted this on my website for those who prefer classic blogs and RSS feeds roszkowski.dev/2025/native-...
roszkowski.dev
Native interop with Kotlin/Java in Flutter
Learn how to use jnigen to generate Kotlin/Java bindings for Flutter plugins.
010
Dominik Roszkowski @roszkowski.dev · 19/01/2025
Future looks exiting, but in this area Flutter seems to be lagging behind KMM/Compose Multiplatform.
110
Dominik Roszkowski @roszkowski.dev · 19/01/2025
I'm looking forward to some of the official plugins to migrate from pigeon and method channels to direct native interop. Next step seems to be to officially expose some of the platform APIs so that you won't have to do it yourself, but rather consume a dedicated package e.g. package:ios
110
Dominik Roszkowski @roszkowski.dev · 19/01/2025
What is quite important to note is that: - this is not new in cross platform (Xamarin and KMM both have it) - this has been possible with ffi and jni but finally it's approachable to normal developers - the work on swiftgen is not that advanced just yet
110
Dominik Roszkowski @roszkowski.dev · 19/01/2025
Something that I've finally got time to play with was jnigen. I heard about it from @youse.fi last year and wanted to see if I can migrate one of the plugins and skip method channels. It worked pretty well so I wrote about it occasionalflutter.substack.com/p/native-int... #Flutter #FlutterDev
occasionalflutter.substack.com
Native interop with Kotlin/Java in Flutter
Got quite excited to use jnigen to generate Kotlin/Java bindings for Flutter plugins.
3155
Dominik Roszkowski @roszkowski.dev · 13/01/2025
It's one of these days: rm -rf ~/.gradle
150
Dominik Roszkowski @roszkowski.dev · 09/01/2025
It would probably work better to call it "entered stable mode/release cycle" or something along these lines.
240
Dominik Roszkowski @roszkowski.dev · 31/12/2024
I put washing machine salt instead of dishwasher salt once. After few weeks the entire softener module that keeps special resin got clogged. Fortunately I found a person who fixed it within few hours. Since then I'm always checking the label before putting something into dishwasher/washing machine.
010
Dominik Roszkowski @roszkowski.dev · 20/12/2024
Sorry for keeping you busy on bluesky with debugging my requests :D Interestingly the long requests sub-steps are not that long, and some of them don't really show anything detailed.
110
Dominik Roszkowski @roszkowski.dev · 20/12/2024
Is this what you refer to? I just had to wait 2 minutes for the references to a widget to be found :(
100
Dominik Roszkowski @roszkowski.dev · 19/12/2024
Over 4 thousands files modified, love it
130
Dominik Roszkowski @roszkowski.dev · 18/12/2024
7) Do they use server-driven dynamic layouts? If yes, what strategy do they use - e.g. some custom representation of layout driven by CMS, or maybe remote flutter widgets, or maybe plain HTML in a webview? #AskFlutter
150
Dominik Roszkowski @roszkowski.dev · 18/12/2024
6) How do they do logging and remote troubleshooting? Do they collect logs from every user or just selectively? Do they have ways to enable tracing or debug-level logging remotely? If yes, what kind of tools do they use? #AskFlutter
150
Dominik Roszkowski @roszkowski.dev · 18/12/2024
5) When working in multiple regions how do they handle various legal requirements that can differ across jurisdictions? At which point the app knows in what country it's operating and exposes features. Is it account-based, or maybe known at startup of the app? #AskFlutter
120
Dominik Roszkowski @roszkowski.dev · 18/12/2024
4) How quickly do they adapt the latest stable Flutter version? Have they migrated to Impeller? #AskFlutter
140
Dominik Roszkowski @roszkowski.dev · 18/12/2024
3) Are their apps offline-first or at least offline-capable? What strategies do they use to synchronize the data, maintain schema migrations, queue actions and expose failures to the users? #AskFlutter
130
Dominik Roszkowski @roszkowski.dev · 18/12/2024
2) How do they maintain contracts between mobile app and backend? Do they use API versioning, contract generation, grpc, protobuf? #AskFlutter
160
Dominik Roszkowski @roszkowski.dev · 18/12/2024
1) Have they found good ways of automated testing with native features (BLE, camera, payments, deep links) eg using maestro, browserstack etc? Or just go with manual QA? #AskFlutter
150
Dominik Roszkowski @roszkowski.dev · 18/12/2024
Damn, I forgot #AskFlutter
030
Dominik Roszkowski @roszkowski.dev · 18/12/2024
7) Do they use server-driven dynamic layouts? If yes, what strategy do they use - e.g. some custom representation of layout driven by CMS, or maybe remote flutter widgets, or maybe plain HTML in a webview?
110
Dominik Roszkowski @roszkowski.dev · 18/12/2024
6) How do they do logging and remote troubleshooting? Do they collect logs from every user or just selectively? Do they have ways to enable tracing or debug-level logging remotely? If yes, what kind of tools do they use?
100
Dominik Roszkowski @roszkowski.dev · 18/12/2024
5) When working in multiple regions how do they handle various legal requirements that can differ across jurisdictions? At which point the app knows in what country it's operating and exposes features. Is it account-based, or maybe known at startup of the app?
100
Dominik Roszkowski @roszkowski.dev · 18/12/2024
3) Are their apps offline-first or at least offline-capable? What strategies do they use to synchronize the data, maintain schema migrations, queue actions and expose failures to the users? 4) How quickly do they adapt the latest stable Flutter version? Have they migrated to Impeller?
100
Dominik Roszkowski @roszkowski.dev · 18/12/2024
1) Have they found good ways of automated testing with native features (BLE, camera, payments, deep links) eg using maestro, browserstack etc? Or just go with manual QA? 2) How do they maintain contracts between mobile app and backend? Do they use API versioning, contract generation, grpc, protobuf?
100
Reposted by Dominik Roszkowski
John McDole @codefu.mcdole.org · 18/12/2024
#Flutter merge day 1: pretty successful, with a side of draft PRs. Someday the infrastructure will be simpler and we'll all look back on this and chuckle about the old days.
061