These are my latest posts on the site. For more up to date posts, look at my Medium page. If you are not a Medium member and you want to read a paywalled post, please contact me.For more posts on the site, check out my categories page.

How to test GPS in Flutter using Android emulator

In the app I’m currently developing, I need to save the users’ current location. In addition, I need to check if the user is driving.

The excellent geolocator plugin is easy to use and has extensive documentation and examples. Creating a simple class that returns the current location and checks the current speed is trivial.

2 min read

Private-Convert: Free private online tool to convert files

It sounds like an oxymoron — if it’s online, it obviously can’t be private, right?

Wrong.

This site does everything on the client’s side, which means everything is done locally on your computer. Your files are not uploaded to a server at any time, they never leave your computer at all. This makes the conversion:

  • Private
  • Fast
That fast.

private-convert main page

1 min read

How to convert Medium to Markdown using VSCode keybindings

I have my own website (this site!), using GitHub and Jekyll. Originally, I just linked to my Medium articles from my website, but this is not good practice — no one wants to enter a website and see a bunch of links.

As Medium does not yet support my country in the Partner program, I don’t lose money by posting the same article on my site. But copying manually is tedious and boring.

So here is how to copy the article into Markdown in VSCode, using some handy shortcuts.

4 min read

Adding a curve to animations in Flutter

Chaining transformation matrices

In a previous article, I showed how to do a slide-in animation. Each widget slid into place from below (or the side) using a Transform Widget in an AnimatedBuilder.

But what if you want to add a curve to the slide?

And that is what chaining transformation matrices is for.

If you have knowledge of transformation matrices already, you don’t need this article. Go read a good book with a cup of your beverage of choice next to you :) Woman on couch reading a book with a cup of hot chocolate next to her

Enjoy. [Created using Dall-E]

If not, you’ve come to the right place.

3 min read

Slide-in animation in a column in Flutter

As we all know, a functional app is great…but it’s not enough. It needs to be easy to use; it needs to be intuitive; and it needs to be cool.

So it’s not enough to show the data in a column. It would be so much cooler to have it slide in:

Alt text

But… how to do that?

Like this :)

8 min read

Pick a file and copy it in Flutter

File URIs and Content URIs, oh my.

I created an app that will recite the traveler’s prayer for you.

woman reading aloud from a book

Like that.

Part of the point is that you can use your own recording of the traveler’s prayer instead of hearing my voice. So I need:

  1. Some way to pick an audio file.
  2. Copy it into my app file directory, so that the app can continue to use it even if the original file is moved or deleted.
  3. Use it in my app.