Month: March 2021

How to Change Shadow Color of Elevated Button in Flutter

Nowadays, many Flutter developers prefer ElevatedButton as their button. In this Flutter tutorial, let’s check how to change shadow color of Elevated Button. The styling of the Elevated Button is done with the help of ButtonStyle class. The shadowColor property of the ButtonStyle class can be used to change the shadow color. As you see, …

How to Change Shadow Color of Elevated Button in Flutter Read More »

How to use Async / Await Keywords in Flutter

Async and Await are two important keywords in programming languages. These two keywords make asynchronous functions read better. In this tutorial, let’s see how to use async and await in Flutter. Following is an asynchronous function where async and await keywords are used. Following is the video where the official Flutter team explains the usage …

How to use Async / Await Keywords in Flutter Read More »

How to call a Variable inside String in Flutter

In some scenarios, you may want to get an existing variable inside your string. Hence, let’s check how to call variables inside a string in Flutter. Calling a variable inside string is extremely easy in Flutter. You just need to use the dollar syntax as given below. Here $value represents an already defined variable named …

How to call a Variable inside String in Flutter Read More »

How to Detect Device Model in Flutter

A mobile app might be running on various mobile devices with different configurations. Hence, it’s important for developers to get the device model of the users. Then only the developer can address device-specific bugs and issues. Let’s check how to get device model in Flutter. The device info is a Flutter package that gives information …

How to Detect Device Model in Flutter Read More »