Mobile Tech – Telegram
Mobile Tech
1.26K subscribers
107 photos
15 videos
6 files
154 links
Michael Lazebny's blog about @dart and @flutter
lazebny.io
Download Telegram
I was not a huge fan of books

Frankly, even a year ago I didn't read anything

But things have changed! Two months ago I found out that it is a thrilling activity.

I started with a book about Stoicism(how to be a stoic) that gave me a fire.

Later, I read Eugene Onegin and recently finished Hamlet.

Currently, I'm reading the Divine Comedy and "Designing data-intensive applications". It is a dashing combination, isn't it? 😁
👍104
I will probably host a broadcast where I develop a small application for myself using Flutter, are you interested? 😄
🔥28👍8
I have recently updated RestClient code a bit so that it is possible to handle custom exceptions thrown by the backend

Do you use similar wrappers or other approaches?
👍6🔥4
Simple error handling example
🔥9👍3
New article will be about forms

Interesting topic 🤩️️️️️️
👍8🔥5
Enhance Your Flutter Apps with Autofill!

Autofill significantly boosts your app's user experience by allowing users to effortlessly complete forms (like credit card details, addresses, and login credentials).

To integrate autofill in Flutter, encase your input fields within an AutofillGroup widget. Then set up autofillHints in textfields.

For a seamless connection between your website and app, remember to configure associated domains for both Android and iOS platforms.

#flutterdev #tip
👍153
What do you use as HTTP Client?
Anonymous Poll
79%
Dio
17%
Http
4%
Something Else
I'm working on intercepted client for http library (like in dio)

From my perspective http library is much better due to these factors:

- Much cleaner and predictable code and behavior, maintained by dart team.
- It doesn't parse "error" responses to DioException-like type.
- It supports different platform implementations (like cupertino_http or cronet_http) that enable HTTP3 & caching & supports VPNs and proxies.
👍12
Added simple styles for single <code> blocks to my blog
👍52
formsf.png
648 KB
Implemented extremely simple forms for #Flutter that support asynchronous validators 👀
👍7🔥4
Next article will be about authentication and how to implement it (interceptors, business logic, data, navigation)

And I will probably use the intercepted client (my library for http interceptors)
👍22
Screen Recording 2024-02-25 at 13.31.54.mov
2.5 MB
Building full-fledged authentication example!

It is for my next article.

Guards, navigation, interceptors with JWT refresh / expiry logic to be covered.
🔥17👍6