NOTES by LESNITSKY Subscribe
2020-06-10 02:36 PM #flutter

Fighting null in your Dart and Flutter applications

I found myself in a need of handling null again and covered many ways to do this in this article. This is an entry-level topic, but important though, since accidentally trying to access properties and methods of null will cause an error (often unexpected, thus – unhandled)...

2020-06-01 02:52 PM #dart

Dart streams: how to pass a stream to another handler starting at exact item

Imagine you're processing a stream of entities with an await for-in loop...

2020-05-17 02:40 PM #flutter

How to access Scaffold of context in the same widget it was created

FlutterError (Scaffold.of() called with a context that does not contain a Scaffold....

2020-05-13 04:37 PM #bloc

Bloc: Red, Green, Refactor

This article shows how to apply test-driven development practice together with BLoC. I'll test and implement AuthBloc as an example...

2020-04-02 06:12 PM #flutter

Flutter IDE: Why and when?

TL;DR: Good news – the project is live and I'm still working on it...

2020-03-30 04:54 PM #thoughts

Mass media should be banned

I don't understand why the world works this way. Here's a breakdown of 99% of articles produced by mass media:...

2020-03-28 05:14 PM #thoughts

2020 state of software development. What's wrong with it?

...

2020-03-26 02:15 PM #productivity

How do I manage to work hard, stay motivated and not get a mental burnout

I quit my full-time office job more than 1.5 years ago. I felt like I don't have enough freedom, I wanted to do something different on and off. I'm certain that software developers are creative natures, and like artists, we need a LOT of freedom for our creativity to prosper....

2020-03-25 07:20 PM #github

How to publish dist folder to GitHub pages

I'm using the following script:...

2020-03-25 07:04 PM #bash

Bash: how to assign current git branch name to a variable

You can use the following git command:...