Mobile Tech
1.14K subscribers
91 photos
8 videos
6 files
138 links
Michael Lazebny's blog about @dart and @flutter
lazebny.io
Download Telegram
An iterator-like interface for stream values.

Allows more elegant and flexible solutions than default "for"

https://api.flutter.dev/flutter/dart-async/StreamIterator-class.html

#tip #dart #stream
πŸ‘4
New article about initialization and injection of dependencies in Sizzle Starter:

https://sizzle.lazebny.io/essentials/dependencies/
πŸ”₯6
Anniversary! Wohoo 🧨
πŸ”₯8πŸŽ‰2
Effective documentation in Dart.

A simple, but cool rule from the Effective Dart documentation is:
β€’ Begin documentation comments with a concise summary sentence.

As developers, we often get caught up in the complexities of our solutions, big or small, and lose sight of the broader picture - the reason for documenting.

The solution is uncomplicated: simply organise your thoughts and write a brief, descriptive sentence about what the method accomplishes overall. Following that, explain how the method is used and what it does.

Bonus points if you add section like "see more" that gives links to associated resources for more documentation.
πŸ‘6
πŸ‘4
πŸ‘7
Mobile Tech
Tomorrow post is about
The Repaint Boundary is in progress, it would be really exciting material πŸ™‚
πŸ‘8
Does each Render Object has layer?
Anonymous Quiz
58%
Yes
42%
No
πŸ‘2
The repaint boundary article is coming tomorrow morning at 6:00 CET! Don’t miss 😎

I’ve covered many interesting topics such as layers, rendering pipeline phases, engines and tips on repaint boundary optimisation & its usage in framework and role in rendering pipeline..
πŸ‘9
Mastering Repaint Boundaries

When a widget moves from one place to another, or changes colour, new frames need to be rendered. In Flutter, there are a few layers that make this work and a widget, that can help you improve the painting performance.

Let's understand how RepaintBoundary functions, the rendering engine stages and how to understand whether your repaint boundary is optimized or not in a new article!

https://lazebny.io/repaint-boundary
πŸ‘5
The site UI was updated! 🧨
πŸ‘16
Another great update! Implemented discussions under articles! 🧨

Now you can ask any questions and participate in discussions without any effort.

https://lazebny.io
πŸ‘6