Image for post
Image for post
Photo by Omar Al-Ghossen via Unsplash

Flutter’s not all fun and games, the current drama on ‘iOS jank’ is causing lots of developers to either stay away from Flutter or convert their existing Flutter apps to something else. Should you do too, or are people blowing this issue out of proportion?

My feed has been blowing up these last few weeks or so. Whether it’s Twitter, Reddit, or Youtube, everyone’s talking about this so-called ‘iOS jank’ Flutter issue. For those of you that didn’t see it yet, click here to check out the issue (which is one of many). In short: Flutter apps on iOS are…


Image for post
Image for post
Image by Rodion Kutsaev on Unsplash

Flavors in Flutter work well for separate environments, but what if we want to have a common code base with white label variants for different clients?

White labeling is a common theme nowadays, at least that’s what we as a mobile agency are experiencing here at Pinch. And why shouldn’t it be? As a company with multiple brands, it’s easy to launch apps for each brand while sharing the same codebase: more efficient for the developers and lower costs for the client! But while the paths to take in native environments like iOS & Android are quite clear, there’s no…


Image for post
Image for post
Photo by You X Ventures on Unsplash

Dropdowns are good when you’d like to pick an option out of a large dataset, but how do we add them in a Flutter app? And better yet: how do we customize it to fit our app’s style? A quick run-through on using dropdowns, incoming!

Basic dropdown

Let’s start off with adding a basic dropdown, first off we’ll need a dataset. To keep things simple, we’ll define a basic list of Strings in our screen:

Cool! So now we can start adding a dropdown. …


Image for post
Image for post
Image via Unsplash, by Markus Spiske

Instead of looking at something specific, let’s take a step back today and revert to one of the basics in Flutter. A brief overview of Stateful widgets in Flutter!

Stateless vs. Stateful

Before we take a look at Stateful widgets, we have to take a look at its counterpart: the Stateless widget. The naming should already give most of it away, but how does it look in practice?

Stateless widgets are, yes, stateless. You basically draw your widget once, and that’s it. It’s not made to change in any way, but rather just simply show how you defined it. …


Image for post
Image for post
Image by Mika Baumeister via Unsplash

It can be quite a hassle, what do you need from your client when you want to add a new app to the Google Play Store? Let’s go through the bare minimum of what is necessary to start uploading our app.

Title

50 characters max.

So, we’ll start off with the title. Pretty self-explanatory I guess, the title of your app in the Play Store.


Image for post
Image for post
Photo by Markus Spiske via Unsplash

When doing mobile development it’s inevitable: using an API. How can we consume those APIs nicely in Flutter? We managed to find a pretty nice setup after doing a few production projects, so let’s have a look!

First things first: which REST API?

Let’s set up our API before starting off our Flutter project. For this example, we’ll use the OpenWeatherMap API. Just click the link and make sure to sign up and get your API_KEY, since we’ll be needing that to make the API calls.

That’s it! Once you signed up and got your API key we can start configuring our Flutter app.

Getting started: Retrofit?!

Assuming you…


Image for post
Image for post

The world is taking a big hit due to coronavirus. A lot of companies have decided to continue their work remotely, but how can you keep your focus, stay productive and keep it social throughout the day? Here are some tips that kept me going so far!

Keep going to the office

Not really of course, but due pretend like you still would. Keep your daily routines going!

  • Take showers (yes, developers do take showers 🙃)
  • Brush your teeth
  • Dress to impress 🕺

Having meetings in your sweatpants can feel great, but you’ll get into that workflow a lot better when you’re fresh and dressed…


Image for post
Image for post

Bulleted lists or numbered lists are a pretty common way of summing up content, but how do we actually implement those in Android? Let’s take a quick look at how we can achieve these lists in a simple TextView!

Bulleted list

So let’s start off with ‘the easy one’: a bulleted list. It’s safe to assume you know what I’m talking about, but here’s an example just for the record:

  • Item 1
  • Item 2
  • Item 3

Let’s say we have this content available as a simple list:

val items = ["Item 1", "Item 2", "Item 3"]

We’ll want to add a bullet…


Image for post
Image for post
Image by Paul Gilmore via Unsplash

RxJava has been around for a few years now and has been one of the main building blocks for many Android projects to date. Kotlin’s Flow is taking a serious shot at contending for this spot, but can it replace RxJava or is it too immature still to fit our needs? Let’s dive straight in and have a look at the basics, getting from API calls to our UI only using Kotlin’s Flow with LiveData, ViewModel and the repository pattern!

What’s that? 🤔

Kotlin Flow is an addition to Kotlin Coroutines. Coroutines save us from callback hell by giving us the possibility to…


Image for post
Image for post
Star Wars Episode I — The Phantom Menace

Adding a shadow or glow to your UI can add a nice finishing touch to the design. Adding elevation is nice for a feeling of depth, but we don’t have too much control over it: the shadow is what it is based on how elevated the widget is and we’re not able to give the shadow a nice color. Let’s take a look at how we can create our own shadow or glow and give our UI that finishing touch!

Basic UI

So before we start to fiddle around with shadows and glows, let’s have a look at the UI that we’ll…

Thomas Middel

Android & Flutter developer @ Pinch.nl | Twitter: https://twitter.com/Thomas_Middel | LinkedIn: https://www.linkedin.com/in/thomasmiddel

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