Mobile Tech
1.15K subscribers
92 photos
8 videos
6 files
138 links
Michael Lazebny's blog about @dart and @flutter
lazebny.io
Download Telegram
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
Happy Spring!

Released a dev version of http interceptors https://github.com/hawkkiller/intercepted_client

It supports concurrent and sequential requests. Basically, the same functionality as dio, but with a more predictable code and error handling.

I’d be glad if you check it out on your pet projects or just test in different scenarios. Feel free to ask, contribute and discuss!

I have successfully built an example authentication app (shown above) using this interceptors and now validating it so that there are no bugs 🐞
πŸ‘14πŸ”₯4
Hi guys! I have just migrated my blog to a managed version

Please verify that everything works - https://lazebny.io/ (especially paid subscribers)
πŸ‘7
New article about authentication / authorization is coming tomorrow! πŸ”₯
πŸ”₯13
Started a survey for the next article! πŸ”₯

You can vote via this link:
https://tally.so/r/w2eDpA
πŸ”₯10πŸ‘2
Mobile Tech
Started a survey for the next article! πŸ”₯ You can vote via this link: https://tally.so/r/w2eDpA
Results of a survey!

I decided to write a small article about real life case of creating custom render object - should be interesting.

After that, I will release the second part of Auth in Flutter.

Also, there were a few additional questions that I will also add to another survey!
πŸ‘11
Command Pattern
πŸ‘15❀3