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.
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
How many threads do Flutter requires?
Anonymous Quiz
55%
4 (Platform, UI, Raster, IO)
21%
3 (UI, Platform, IO)
16%
2 (UI, IO)
8%
2 (UI, Raster)
π4
Declarative Status Bar Overlay Color in Flutter
Ever struggled with imperative SystemChrome API? See this short guide to make this process neat.
Ever struggled with imperative SystemChrome API? See this short guide to make this process neat.
Linkedin
Michael Lazebny on LinkedIn: #dart #flutter #declarative #appbar
Declarative Status Bar Overlay Color in Flutter
Have you ever struggled with switching between colors of the status/navigation bar on Android? There is an imperative solution to use SystemChrome.setSystemOverlayUiStyle, but there is an even better declarativeβ¦
Have you ever struggled with switching between colors of the status/navigation bar on Android? There is an imperative solution to use SystemChrome.setSystemOverlayUiStyle, but there is an even better declarativeβ¦
π4
Tomorrow post is about
Final Results
37%
RepaintBoundary
18%
Layer
18%
SceneBuilder
24%
RootRenderView
3%
Semantics
Mobile Tech
Tomorrow post is about
The Repaint Boundary is in progress, it would be really exciting material π
π8
RepaintBoundary does ..
Anonymous Quiz
35%
Isolate parent from changes in its subtree
37%
Isolate subtree from changes outside
28%
Both noted above
π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..
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
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
Michael Lazebny
Mastering Repaint Boundaries
Explore Flutter rendering, widgets, elements, render objects, layers and RepaintBoundary inner functioning.
π5
Another great update! Implemented discussions under articles! π§¨
Now you can ask any questions and participate in discussions without any effort.
https://lazebny.io
Now you can ask any questions and participate in discussions without any effort.
https://lazebny.io
π6
π6
Small, yet interesting post about writing. Hope it will inspire somebody to start!
https://lazebny.io/how-writing-makes-you-better/
https://lazebny.io/how-writing-makes-you-better/
Michael Lazebny
How writing helps you grow
For centuries, people have recognized a simple truth: "Teaching others is a way to teach yourself." A few months ago, I also began writing.
π5
π5
BOOM! New article is about opacity widget, its perfomance and inner functioning. Also, I will tell why AnimatedOpacity & FadeTransition are more efficient for animations. Let's go!
https://lazebny.io/flutter-opacity-explained/
https://lazebny.io/flutter-opacity-explained/
π6
Media is too big
VIEW IN TELEGRAM
Yesterday I was in Warsaw for a concert of the very famous band Splean! Amazing emotions and lasting memories.
Enjoy life now! Never forget to take a break from work
#life #music
Enjoy life now! Never forget to take a break from work
#life #music
π12