Extensible Dart Classes with Extension Methods

I was recently tasked with creating a general-purpose unit conversion class. The class needed to be easily extensible so new conversions could be easily added at any time. It also needed to throw an exception when an unsupported conversion was attempted. Furthermore, I was told that the conversion method needed to take in two string

Introduction to Algorithms with Dart

Once a novice developer learns the basic syntax of their programming language, and begins writing anything more than simple hello-world type apps, they start to encounter problems. At first, these problems seem daunting. To find answers, they usually start hitting the various software development forums and social sites where their kindred spirits tend to congregate

Design Patterns In Dart

This entry is part 2 of 2 in the series Design Patterns In Dart

GoF Design Patterns in Dart Back in the ’90s, a group of four authors released a book that became standard reading for any self-respecting software developer, the Gang of Four’s Design Patterns book. Along with Fred Brooks’s Mythical Man-Month, Don Knuth’s The Art of Computer Programming series, these books are still fundamental to our profession

Design Patterns In Dart – Part 2

This entry is part 1 of 2 in the series Design Patterns In Dart

The Singleton Pattern From time to time you’ll find you need to ensure that your code creates only a single instance of a class. This often occurs in hardware drivers or certain OS sub-systems. It’s not a feature you need often but, when you need it, you really need it! The singleton pattern is one

Dart / Flutter State Management with Okito

Recently in the slack flutter forum, the Okito package was announced. I took a quick look at the package but at the time didn’t have time to investigate it fully. This past week I got the chance to look the documentation over and produced my first ever Youtube video using Okito as the subject. In

Flutter build apk or build apk –split-per-abi What’s The Difference?

I was recently asked to describe the difference between the flutter build commands, “build apk” and “build apk –split-per-abi”. If you’ve developed native Android apps for long, no doubt you already know the difference. But for those flocking to flutter and mobile development for the first time, it can be a bit confusing. So in

Flutter Reaches 2.0

Flutter Reaches 2.0
Flutter Logo

Compiling Legacy Dart/Flutter Code with Sound Null Safe Code Anyone who knows me knows how I feel about flutter, Googles (fairly) new cross-platform toolkit. I started working with flutter back in 2017 and it has been a lot of fun! This past week Google held a virtual event for flutter called Flutter Engage. During the