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
As human beings, we can only control a small part of things, and it is natural that there are some things beyond our control. Do your best if you can influence the outcome. Otherwise, don't worry about it.
πŸ‘5
How to work with Clipboard in flutter?

There is a class Clipboard for these purposes in flutter:services.

It has two simple methods: setData and getData.

#tip #flutter #clipboard
πŸ‘9
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