Snagged Some Udemy Courses on Sale May 2020

Read more →

Code Snippets With vim-vsnip

When you work with a language like Dart, you soon realize that you have a lot of boilerplate code. For example, here is the skeleton code for a stateless Widget in Flutter: class YellowBird extends StatefulWidget { const YellowBird({ Key key }) : super(key: key); @override _YellowBirdState createState() => _YellowBirdState(); } class _YellowBirdState extends State<YellowBird> { @override Widget build(BuildContext context) { return Container(color: const Color(0xFFFFE306)); } } A few code snippets would be helpful.
Read more →

How to Get Your Android Debug Key

Read more →

Tuesday Picks 002

Read more →

Domain-Driven Design and TDD in Flutter YouTube Series

Read more →

What’s Up in May 2020

I finished the implementation for fastify-bookmarkly, a Node.js REST API using the Fastify framework and a clean architecture style. The repo is a port of Bill Sourour’s clean Node.js microservice repository. I’m still learning Flutter. I’m trying to wrap my head around how to implement a clean architecture/hexagonal architecture with TypeScript. For a Java implementation, see this repo from Tom Hombergs, author of Get Your Hands Dirty on Clean Architecture.
Read more →

TIL About INSTALL_FAILED_INSUFFICIENT_STORAGE on Android

I’m working on a Flutter REST API. I type into the command-line: flutter run -v to start the application. But that doesn’t work: INSTALL_FAILED_INSUFFICIENT_STORAGE Why? There is still enough storage space on my local machine. The error is Android-specific. When you run the Android emulator, it creates an ADB device. When you develop your app, Flutter (or Android SDK) will install packages into ADB. It looks like that fills up the (virtual) storage space.
Read more →

Flutter Android Emulator Cheatsheet for the Command Line

Read more →

Still Working on Clean Architecture

Read more →

Flutter Fixture Reader Cannot Open File

My Flutter app has a test folder test. Inside is another folder called fixtures. Here is the fixture_reader.dart file: import 'dart:io'; String fixture(String name) => File('test/fixtures/$name').readAsStringSync(); Now I can use the function to read a fixture in a test: // code ommitted group('fromJson', () { test( 'should return a valid model when the JSON number is an integer', () async { // arrange final Map<String, dynamic> jsonMap = json.
Read more →