Open in app

Sign In

Write

Sign In

Tomek Polański
Tomek Polański

5.4K Followers

Home

About

Nov 7, 2021

Bang! Operator and how to improve your Dart Nullability

Dart promised Sound null-safety to prevent us from committing the Billion Dollar Mistake. Unfortunately, neither Flutter nor our code is truly Soundly Null Safe. Whenever you use the bang operator ! …

Flutter

2 min read

Bang! Operator and how to improve your Dart Nullability
Bang! Operator and how to improve your Dart Nullability
Flutter

2 min read


Apr 5, 2021

The New Flutter Integration Tests — Are They any Good?

The current Flutter Driver tests will be deprecated and it’s recommended to move to the new Integration Tests. In this post let’s talk about what are the new tests good at and what are they still lacking. The Positives + Same API The API does not only look but is the same that is used…

Flutter

4 min read

Flutter

4 min read


Oct 26, 2020

Running Flutter Desktop on Stable channel

TL;DR: Follow those steps if you want to run Flutter as a desktop application on beta or stable channels (and not only on master or dev). At the time of writing this post, Flutter Desktop is still in Alpha and you are only allowed to enable it on master or…

Flutter

2 min read

Running Flutter Desktop on Stable channel
Running Flutter Desktop on Stable channel
Flutter

2 min read


Published in

Flutter Community

·Feb 5, 2020

Blazing Fast Driver Tests - made easy

TL;DR You can now write fast driver tests with much less amount of code using this package. A note of warning: if you are in a Flutter project that won’t take more than 3 months, you won’t need an extensive testing approach, therefore you won’t need the approach that I…

Flutter

2 min read

Blazing Fast Driver Tests - made easy
Blazing Fast Driver Tests - made easy
Flutter

2 min read


Published in

Flutter Community

·Dec 31, 2019

How Slivers are made: SliverFillRemaining

SliverFillRemaining is fairly simple yet useful — it fills the remaining scrollable space with a widget of your choice.

Flutter

3 min read

How Slivers are made: SliverFillRemaining
How Slivers are made: SliverFillRemaining
Flutter

3 min read


Published in

Flutter Community

·Nov 24, 2019

How Slivers are made

The best way to learn how to write your own Sliver is to know how existing Slivers are made. I would split Slivers into groups by their complexity: Easy Single child Slivers SliverToBoxAdapter — enables inserting a normal box Widgets as a Sliver SliverFillRemaining — fills remaining available space SliverPadding —…

Flutter

4 min read

How Slivers are made — Part 1
How Slivers are made — Part 1
Flutter

4 min read


Published in

Flutter Community

·Nov 13, 2019

Blazingly Fast Flutter Driver Tests

TL;DR: Ever wanted to speed up your Flutter Driver Tests by 750%?

Flutter

7 min read

Blazingly Fast Flutter Driver Tests
Blazingly Fast Flutter Driver Tests
Flutter

7 min read


Published in

Flutter Community

·Jul 26, 2019

Flutter Animations Cheat Sheet

Since writing Flutter Layout Cheat Sheet article, I intended to create a similar article about Flutter’s animations. Unfortunately using GIFs or videos is not the greatest way to show the potential of animations. I was not able to teach animations compellingly… until now, thanks to Flutter Web. If you want…

Cheatsheet

2 min read

Flutter Animations Cheat Sheet
Flutter Animations Cheat Sheet
Cheatsheet

2 min read


Published in

Flutter Community

·Mar 26, 2019

Flutter Laggy Animations: How Not To setState

Creating animations in Flutter is really fun and easy, but there is one bad practice that might make those animations laggy: setState. Bad Practice: AnimationController and setState When using AnimationController in a StatefulWidget, you might be tempted to do the following: void initState() { _controller = AnimationController( vsync: this, duration: Duration(seconds: 1), ) ..addListener(() …

Flutter

3 min read

Flutter Laggy Animations: How Not To setState
Flutter Laggy Animations: How Not To setState
Flutter

3 min read


Published in

Flutter Community

·Feb 9, 2019

Elements, Keys and Flutter’s performance

TL;DR: Widget Keys can improve the performance of our application in places where you do not get the promised 60 FPS. An Element is created internally by a Widget. Its main purpose is to know where in the widget tree is the widget that created it. Elements are expensive to…

Flutter

6 min read

Elements, Keys and Flutter’s performance
Elements, Keys and Flutter’s performance
Flutter

6 min read

Tomek Polański

Tomek Polański

5.4K Followers

Passionate mobile developer. One thing I like more than learning new things: sharing them

Following
  • Tracy Rolling

    Tracy Rolling

  • Tim Sneath

    Tim Sneath

  • Michael Thomsen

    Michael Thomsen

  • Simon Wirtz

    Simon Wirtz

  • ashdavies ™

    ashdavies ™

See all (31)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech