Closure with partial application Jun 14, 2022 1 min read Dart Flutter Tips Sometimes it is convenient to use closure (method inside a method) with partial application to reuse certain functionality.
Callable classes Jun 11, 2022 1 min read Dart Flutter Tips A Callable class allows its instance to be called a function. This feature of Dart language helps make named functions.
Providing data using zones Jun 9, 2022 1 min read Dart Flutter Tips Use the 'zoneValues' argument to 'runZoned()' to store values in the newly created zone.
Enhanced enums Jun 9, 2022 1 min read Dart Flutter Tips Since Dart 2.17, we can declare enums with members.
Sorting collections Jun 9, 2022 1 min read Dart Flutter Tips Instead of using the 'compare' in 'sort' every time, you can override a method 'compareTo' in your object.