Edit: With null safety, this can’t be null anymore in an extension on a non-optional type.

We all know the this keyword in Dart (and many other languages). When used in a method, it refers to the instance of the object that the method is invoked on. Therefore, it can…

Widget tests in Flutter often become hard to read and maintain for one of two reasons: One problem is that individual test check too many independent things. This makes it hard to see what exactly is being tested. It will also result tests requiring modifications whenever the widget being tested…

Sander Kersten

Physicist. Software developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store