Here is a simple example of using Gradient in Flutter. Here we are just showing a demo of how to use LinearGradient in Flutter. You can even use the RadialGradient or SweepGradient in the similar way. Watch Video Tutorial Here is the complete example of setting a LinearGradient in a Container. Please leave your valuable comments below.
Using Custom Fonts in Flutter is really easy. Watch Video Tutorial Here I have a folder named “fonts” in my project folder. I also have a font file “Roboto-Medium” in fonts folder. Register font in pubspec.yaml If you open pubspec.yaml file, you will see commented out fonts section below the file. You can uncomment… Read More »
Hello welcome back to another flutter tutorial. Here I will be showing some quick flutter coding tips and tricks. Watch Video Tutorial # Tip 1 – Dismiss Keyboard To dismiss Keyboard, we have to set focus on a different node as shown in the example below using the Gesture Detector. # Tip… Read More »
Hi This article helps you to do complex Json Parsing in Flutter or dart. Watch Video Tutorial Simple JSON I have the following json in a file named “person.json” in a folder named “json” in root of my project. To parse this json, we will create a model class named “Person”. The “fromJson” method creates a “Person” object… Read More »
This article shows how to implement Shared Preferences in Flutter. Watch Video Tutorial Add Dependency We will be using the shared_preferences plugin from Flutter to implement this. You can go to this link and read more about it. Go to your pubspec.yaml file and add the dependency. Import plugins … Read More »
I am going to show how to efficiently make use of widgets in Flutter. This is a simple example of how to work with widgets in Flutter. Here we will be creating two widgets that looks similar, but let’s see how many hierarchies or levels of widgets are needed to create such a widget. Watch Video… Read More »
For selecting an image from the Gallery or Camera roll in Flutter, we need to include a library in pubspec.yaml file under the dependencies that is present in the root of your project. Demo Video Watch Video Tutorial Usage To open the gallery Show Image in the UI Once the… Read More »
Hello friends, In this article I am gonna show you how you can do Form Validation in a very simple way in Flutter. Below is the demo of the app we are going to build App Demo Watch Video Tutorial Explanation Here in this demo, I will have two TextformField and a Button and we will… Read More »