And 9 other things I do to gently spice up life
Congratulations —I made it to a new day. If today is anything like yesterday, I will probably follow a routine similar to it. Well, maybe my Saturday is different than my Tuesday, but excluding some variable, this Saturday may mimic my last Saturday and this Tuesday may be pretty similar to last Tuesday and so on — especially in recent times.
Somebody who lives a relatively monotonous life should be aware that such monotony can be detrimental to mood and even incite depression-like traits. …
If you’re getting hung up on either trying to figure out how to set up your launch screen on Android by following the Flutter docs or having issues with the image scaling, try this quick guide on getting it to work as you intend.
I created a new Flutter project and also a PNG image I will use on the launch screen:
You may already know that images can contain sensitive information such as GPS coordinates of where the image was taken. This information is stored in the image’s metadata, also known as the EXIF (Exchangeable Image File Format) data. Depending on your use-case, of course, it is a good idea to delete this information before you store it for the world to access.
You will want to check with your storage medium first, as they may already strip all metadata from any file that is uploaded via their services. However, some platforms, such as Google Cloud Storage, do not remove metadata…
You may be wondering if you can integrate Firebase’s anonymous authentication in your application and still maintain some level of persistence (and security) with your back-end. This article details what happens to anonymous authentication credentials after performing different actions with the app.
Here’s the TL;DR summary:
Closing the app and re-opening it from the emulator: Persists
Closing the app and re-running it from the IDE: Persists
Signing in anonymously multiple times: Persists
Signing out and signing back in: Does not Persist
Deleting the app’s cache: Persists
Deleting the app’s data (storage): Does not Persist
Using shared_preferences and clearing its data…
Installing an SSL certificate on your website hosted with FranTech is a pretty straightforward process, but it can be a bit confusing on your first run. Here I’ll walk you through the steps for getting your certificate installed.
You’re going to hit some errors if you just try to issue a certificate via Let’s Encrypt™ SSL if you haven’t done some configuration first — so let’s get to that configuring now.
You’re probably upgrading because you’ve been getting those emails from Google about the Fabric Crashlytics deprecation occurring on November 15, 2020. If you’re running into some problems while upgrading, try the steps listed here.
If you are just beginning the upgrade, skip this article and follow the Migration Guide. Following that guide should solve 99 percent of the problems you’ll encounter if you try to migrate without guidance.
Keep in mind that once you upgrade the Crashlytics plugin, you will likely see a host of problems occur due to other incompatible Firebase plugins. So upgrading Crashlytics most likely won’t be…
TL;DR: Be sure you have filled out the information in the “Basic” section of “Settings”
I recently noticed that the Facebook API may not always give you a reason why your app isn’t switching to “Live Mode” from “In Development.” In my case, it just showed a circular progress indicator and then disappeared after a few seconds — no guidance or warning on why.
If this is happening to you, it should be a simple fix:
After seeing a ton of different answers about changing the splash color of different widgets, namely
ListTile, here are two quick ways of doing it:
Be sure to check your specific widget, as some (such as
IconButton) already have
highlightColor properties you can set without having to modify or add a Theme.
Caveat: This option will change ALL widgets using
highlightColor to the colors you set, so if that doesn’t work for you, go for Option 2.
MaterialApp‘s theme property (if it isn’t already there).
Want to give some type of dialog in response to an action but the provided
Tooltip class just isn’t doing it for you? Maybe it’s time to look at implementing an
A tool tip is generally a static text label that appears over something on your screen that provides more insight into what that something does. Some widgets come out of the box with a
tooltip property that you can set:
It seems that quite a few people want to modify the built-in Flutter ExpansionTile widget, so that is what we will do right now — and it’s easy.
This is not an example of everything you can do with a custom ExpansionTile, rather it’s an example to get you set up to where you can do anything you want with a custom ExpansionTile (or any other widget in general).
Flutter offers many UI options right out of the box, but sometimes you may want to tweak them a bit for your liking. …