The Rivepod way to provide platform specific implementations of a midi player

This article shows you how to use different implementations for web and for native. This is tricky when the web implementation needs to import a library which is not available for native platforms. A little example uses this trick to play midi on web and on native plaforms.

I’m working on an iOS app that will play midi sounds to learn the notes on a guitar. Most of the development I do on a really old MacBook Pro (2011) which can’t build iOS Apps any more. So I build my App for Web and this works fine. …


Prepare yourself for coding interviews with practice, practice and practice.

Photo by ThisisEngineering RAEng on Unsplash

Are you are preparing for a coding interview or just want to refresh some computer science basics? Then this article is for you.

What you will get reading this article:

  • use TDD to learn new Dart concepts
  • translate Javascript unit tests to Dart unit tests
  • a nice collection of coding exercises in Javascript and Dart
  • examples of string manipulation, LinkedList, Stack, Queue, BinaryTree, BubbleSort, MergeSort and more in Dart
  • useful mental training

You will need Flutter or Dart installed and your preferred IDE, I recommend VS-Code. Go to https://dart.dev or https://flutter.dev if you need instructions.

The other day I found…


There are several chart packages available in pub.dev. I chose mp_chart, because it is similar to the proven MPAndroidChart.

The RealTime Chart in action

What you will learn:

  • How to cut out a chart from the mp_chart package example and integrate it into your app.
  • How to use Dart DevTools to ensure that there is no memory leak.

Since January I’m experimenting with some private Flutter Apps. Especially I’m investigating how Flutter can be used to control bluetooth devices, develop Desktop Apps, Web Apps, and much more.

For a bluetooth project, I needed to visualise two values in realtime, like on an oscilloscope. I checked the packages on pub.dev and chose the mp_chart package. …


How do your personal values influence your daily work as a developer?

Photo by Glenn Carstens-Peters on Unsplash

Yesterday I wrote my first post on Medium. It was about which way to implement colors and styles in flutter programming. In programming there are always several ways to implement a solution. Sometimes it’s not easy to select the “right” one for a specific case. Even harder is it define coding standards.

What means “right”?

If you have been in a typical scrum team for a while with code reviews and regular developer sessions you know that there can be hot discussions about the “right” solution.

In scrum teams all members…


Color and Style: global const vs theme

Photo by Brett Jordan on Unsplash

I searched for Flutter articles today and found Derrit Mwiti’s article with the Title ‘Flutter Development Best Practices’. I’m learning flutter since January 2020 and think it’s crucial not to get used to bad habits. Therefore such articles are very interesting for me. Most of the practices recommended by Derrit I can understand. But the first one in his list made me doubt.

Are themes really that great?

He begins with the advice to use themes and points out the following advantages:

  • It’s easier to reference properties anywhere in the code
  • It prevents code repetition
  • It’s easier to…

Alfred Schilken

Software Developer for more than 35 years, started with C and C++, after Java, Python, Groovy, Lua, Golang and Swift now focussing on Dart and Flutter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store