Due to an innate burden that saddles me with self-comparisons of everything I do with the likes of highly talented software engineers, I can never consider myself to be a great developer (albeit context is everything, and I certainly aspire to be). However, in my pursuit of that ever-elusive aspirational goal, a few primary concepts
Category: dart
Fun with Practical Prototyping: Project One
… … … I relished the thought of … … … … creating a “simple” open-sourced Flutter app in around three days. tl;dr: The functional design took a week; — read, ‘how three days turned into near three months’. On the bright side, ChatGPT and GitHub Copilot reduced the coding time by about 20-30%. What
GitHub Copilot is pretty AWESOME!!
Just taking a few minutes to express a little nuanced gratitude for the GitHub Copilot AI tool. Practically speaking, in working with Dart, when creating shallow copies of Lists and Maps, I recently learned a primary difference between .from() and .of(): Using .from() will yield runtime exceptions while using .of() will reveal any potential type
Flutter: The perfect take!
Flutter FTW! When asked by a non-technical stranger on LinkedIn to explain what Flutter is, being I’m not in sales or marketing, and knowing I’d get too technical, I turned to ChatGPT to help out. The Prompt: As succinctly as possible (maybe just a few paragraphs), what advantages does Flutter offer for cross-platform mobile app
A Tour of some of Dart 3’s Impactful New Features
I created a public Gist of my experience touring Dart 3’s new features via their Dart Codelab. Gist files from Dart’s codelab: Dive into Dart 3’s new OO language enhancements including patterns, records, enhanced switch and case, and sealed classes. It was intriguing and educational!! 💡 A couple of the features I recall learning or using
Dart and OO: Design Patterns, Refactoring, and Code Smells
I would like to thank Refactoring.guru for their insightful course on, well, refactoring (and code smells) at an Object-Oriented (OO) level. The course helped to set me on the right track for being more cognizant of my coding practices in Flutter and Dart. While some refactoring concepts might appear self-explanatory, the dissection of the refactoring processes in
TIL — `.nonNulls`
From the source code: flutterbincachedart-sdklibcollectioniterable.dart /// Operations on iterables with nullable elements. @Since(“3.0”) extension NullableIterableExtensions<T extends Object> on Iterable<T?> { /// [Returns] The same elements as this iterable, /// except that `null` values are omitted. Iterable<T> get nonNulls => NonNullsIterable<T>(this); } dart:collection Source — changelog: https://github.com/dart-lang/sdk/blob/5d30f18892f1f825943a74e81ab02f27c2c6c26f/CHANGELOG.md#dartcollection Added extension members: nonNulls firstOrNull lastOrNull singleOrNull elementAtOrNull Obtained
Migrating to Dart’s Null Safety
Prior to starting on my 4th Flutter mobile app, and because it seems that every plugin now supports it, I decided to give migrating to Dart’s null safety a go. Sound null safety is available in Dart 2.12 and Flutter 2. In reading through the migration documentation, it appears the migration tool may pose as
Learning Mobile App Development via Flutter
Learning: Mobile App Development – via Flutter What is … Flutter? Flutter is a mobile—and web—app development framework powered by the Dart programming language. It is akin to React Native or Ionic, and is built by Google. Dart is akin to JavaScript—but not. Since coming out of beta in December 2018, trends from Stack Overflow