Friday Picks 065

Read more →

Friday Picks 060

Read more →

Friday Picks 054

Read more →

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 →

Awesome Flutter

Updated on August 15, 2020. In the last week, I’ve started digging into Flutter. Why? I’m not interested in learning yet another platform/language. Dart (the language for Flutter) is easy to pick up, and Flutter looks like a promising choice for cross-platform mobile development. But I’m much more keen on learning about clean architecture and hexogonal architecture patterns. A few days ago I stumbled over ResoCoder’s blog and tutorial series on clean architecture in Flutter:
Read more →

How to Get Flutter and Android Working on Arch Linux

Getting Flutter and Android working together is no small feat. Linux may be a first-class citizen when it comes to developing with Flutter, but setting up Java, Android and the Android tool-chain can be a real hassle. This blog post shows how get Flutter working with Android SDK without installing Android Studio. Android Studio is a fully-fledged IDE. If you want to use a different development editor (like Vim or VS Code), Android Studio is only good for eating space on your hard drive.
Read more →

Learning Flutter and Clean Architecture

At the moment I’m diving into clean architecture. I’m trying to find practical resources on how to implement such an architecture. You can find a course on Clean Architecture and TDD with Flutter on YouTube.

If you’re interested in Flutter, you can get a free introductory course on Appbrewery. And from April 13 to April 17, 2020, you can also watch free talks by Flutter experts. Further Reading Introduction to Flutter Development Using Dart by Appbrewery The Clean Architecture by Robert C.

Read more →

Friday Picks 035

Read more →

Friday Picks 034

Read more →

Friday Picks 031

Read more →

Flutter Permission Denied

I’ve been playing around with Flutter lately. Flutter is a framework for app development based on the Dart language. I’ve always been interested in creating mobile apps but so far it’s taken a backseat to learn web development. But Flutter proved to be a joy so far. Dart, the underlying language, has lots of similarities to JavaScript, so it’s easy to pick up. It looks like a better designed, object-oriented JavaScript with static types.
Read more →

Dart Support for Vim with dartfmt, ALE and Language Server Protocol

Updated on 2020-04-17. Here’s how to get language support for the Dart language in (Neo)Vim. Tools Needed I assume that you installed (Neo)Vim and the Dart language. For example, Arch has a community package that easily installs dart with your package manager of choice. Additional tools: ALE or a different plugin with Language Server support dart_language_server Vim Polyglot OR dart-vim-plugin (for general language support) (optional) VimCompletesMe or a different auto-complete plugin 1.
Read more →