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…
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…
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!
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. …
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!
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. …
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.
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.
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!
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.
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!
Not really of course, but due pretend like you still would. Keep your daily routines going!
Having meetings in your sweatpants can feel great, but you’ll get into that workflow a lot better when you’re fresh and dressed…
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!
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:
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…
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!
Kotlin Flow is an addition to Kotlin Coroutines. Coroutines save us from callback hell by giving us the possibility to…
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!
So before we start to fiddle around with shadows and glows, let’s have a look at the UI that we’ll…