Mobile Tech
1.15K subscribers
91 photos
8 videos
6 files
138 links
Michael Lazebny's blog about @dart and @flutter
lazebny.io
Download Telegram
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
πŸ‘15❀3
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
πŸ‘5❀2
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