Flutter

In this Flutter tutorial, you will learn a few different ways of fetching an image from the Internet. Fetching an image in Flutter is very easy. You can either use a widget or a Provider and wrap it with a widget. Let’s see how it’s done! Using Image.network() Constructor Flutter provides an Image widget to display…

Read More Fetching Image from Internet in Flutter

The BottomNavigationBar is a built-in widget in Flutter that is being widely used in many different mobile apps. It is used to create a bottom navigation bar feature in your mobile app to help users navigate between different app pages. The bottom navigation bar in Flutter can contain multiple items such as text labels, icons, or both.…

Read More Bottom Navigation Bar Example In Flutter

Introduction Data tables are another indispensable part of everyday UI. We can provide information in a clear and concise manner, which is especially helpful owing to the fact that mobile displays are (relatively) small. Today we’ll be covering DataTables in Flutter. The blog is divided into two parts: In Part 1: we go over the basics…

Read More DataTables in Flutter – Explained

There are multiple ways of adding App Icon in Flutter, and here I’m going to cover some of those methods. Method 1: Using flutter_launcher_icons Package The flutter_launcher_icons package takes in a source png file and generates icons for both iOS and Android. To learn more about the flutter_launcher_icons package check out this link. Below are short instructions…

Read More App Icon in Flutter. Ways to Generate and Change app Icon.

In this Flutter tutorial, you will learn about different types of Switches in Flutter. Simple/Material Switch A Switch widget takes a boolean value parameter and onChanged function parameter. Switch( value: value1, //boolean value onChanged: (val) { setState(() { value1 = val; }); }, ), Material Switch Cupertino Switch A CupertinoSwitch is exactly the same as a normal (Material) Switch…

Read More All types of Switches in Flutter

In this Flutter tutorial, you will learn how to do basic form validation in Flutter. We will go through it step by step, and you’ll learn how to use Form and TextFormField widgets in Flutter. Creating a New Flutter App First, we’ll create a new Flutter app to work with. This tutorial assumes you have…

Read More Form Validation in Flutter with a Practical Example

In this tutorial, you will learn how to use change the background color of the top App Bar in Flutter. To change the background color of the AppBar widget in Flutter, we use its backgroundColor property. AppBar( backgroundColor: Colors.red ), // AppBar Below is a very simple Flutter app example, that uses the above code snippet…

Read More Changing AppBar Background Color in Flutter