Expanded/ Multi-Level List in Flutter for Android and iOS

By | July 14, 2019

Here is a simple example for creating expanded list in flutter. Watch Video Tutorial We will create a new class named “Entry” which will be the data on each row of the list. Data Source Let’s create the array to be shown in the expanded list. Create Row Widget Create the List That’s it. Complete… Read More »

Custom Splash Screen in Flutter for Android and iOS.

By | September 8, 2019

Lets start with iOS Watch Video Tutorial iOS Go to the flutter project folder and open the iOS folder. You will see the runner.xcodeworkspace file. Open the file in Xcode. Now if you select the root folder and select the target and go the General Tab, Here just towards the bottom you will see an… Read More »

Animations made simple in Flutter using Animator Plugin

By | July 7, 2019

This is a simple demo showing how you can animate views in flutter using very little code. Watch Video Tutorial Here is the simple code in which I am showing all basic functions in different different functions. You can call these methods in the build method and execute all.

Flutter Tutorial – List Pull to Refresh and Swipe to Delete in Flutter

By | July 3, 2019

Let’s start with Swipe to Delete. To Swipe and delete a row, each row in the list should be made up of Dismissible Widget. The Dismissible widget has inbuilt listeners for Swipe Gestures. Watch Video Tutorial Swipe to Delete Here we will have a list of Strings which are a list of companies. Each row… Read More »

Firebase Storage – Uploading and Downloading files & Multi File Picker in Flutter

By | June 23, 2019

Watch Video Tutorial     This demo shows how to upload files to firebase Storage. For this demo we will upload only images to firebase Storage. Also I am doing any sign in to Google, this is completely anonymous. Let’s start… Add Dependencies we need three plugins for this example #1 Multiple File Picker This… Read More »

Network Connectivity in Flutter

By | June 10, 2019

In this demo, we will see how to check network connectivity in flutter. We will see three different ways to check connectivity in Flutter. Watch Video Tutorial Add Plugin Method 1 Method 2 Using Subscription, we can subscribe to the network change events. Method 3 What if you want to listen to network changes through… Read More »

Download ZIP, Extract it and Show the images file in List in UI

By | June 7, 2019

Watch Video Tutorial     Add Plugins   For downloading, Extracting and saving ZIP in the device, we need some plugins. So open your pubspec.yaml file and add the below plugins.   The ‘http‘ package is for downloading the zip file, ‘path_provider‘ is for saving the file inside the device and the ‘archive‘ package is… Read More »

Understanding Application States in Flutter

By | June 4, 2019

This example is all about understanding Application States in flutter. Although it seems simple, it’s very important. If you are an Android or iOS Developer, you may be familier with these concepts and callbacks. Andrid has onResume, onPause etc callbacks, iOS has viewWillDisappear,viewDidAppear, didFinishLaunchingWithOptions etc callback functions to acheive this. These funtions are useful most… Read More »

Play Video in Flutter

By | May 30, 2019

This is a simple example to play a video in Flutter. Add Plugin We will use the video player plugin to play video. Go to your pubspec.yaml file in your project and add the below plugin. Initialiaze the Controller Add the Video Player Widget We will add the VideoPlayer when the connectionState is done and… Read More »

Filtering a ListView in Flutter using a onChange on TextField with delay in flutter.

By | November 9, 2019

In this article we will see how we can filter a Listview in the onChange event of a TextField in Flutter. Here we will use the below service Url to populate data into the ListView. https://jsonplaceholder.typicode.com/users Watch Video Tutorial Create Model Class Service Class In this class we will call the service and get the… Read More »

Load Local html file into WebView in Flutter. Call JS function from Flutter.

By | May 30, 2019

The first thing you need is the webview plugin itself and you can get it from the below link https://pub.dev/packages/webview_flutter Watch Video Tutorial Sample HTML file Below is the sameple HTML code that we are going to load into the webview I have saved this file under a folder named “files” in the root of… Read More »

Flutter Tutorials – Handling Back Button in Flutter for Android and iOS

By | May 30, 2019

Handling back button and providing a different functionality is always a requirement among mobile developers. Flutter also helps you to do that. Let’s see how that works. Watch Video Tutorial This is achieved with the help of a widget called “WillPopScope”. ‘WillPopScope‘ has a method call ‘onWillPop‘ which can be used to override the back… Read More »

Flutter Tutorial – Upload Image in Flutter Using PHP

By | May 30, 2019

Today in this article we will see how we can upload image to a server using Flutter. Watch Video Tutorial     Add Plugins   First thing we are going to need is the plugin for networking and plugin to select image from camera or gallery.   Add the below plugins in the pubspec.yaml file.… Read More »

Interview Problem Solving – Mars Exploration

By | April 29, 2019

Problem Sami’s spaceship crashed on Mars! She sends a series of SOS messages to Earth for help. Letters in some of the SOS messages are altered by cosmic radiation during transmission. Given the signal received by Earth as a string, , determine how many letters of Sami’s SOS have been changed by radiation. For example,… Read More »

TabbedAppBar in Flutter – Android and iOS.

By | April 26, 2019

Hello, welcome to another flutter tutorial. This tutorial helps you to create a top TabBar navigation with AppBar. The app will look like this below. Watch Video Tutorial This is actually simple and easy. Let’s start by creating the model class. Our model class is named “Choice“. Now we will create a list of Choices… Read More »

Carousel in Flutter

By | April 29, 2019

Carousels are an awesome way to show a list of images. We will be using a plugin to show the carousel in flutter.     Watch Video Tutorial Add Plugin   To use carousel we need to add the below plugin to our pubspec.yaml file https://pub.dartlang.org/packages/carousel_slider   So open your pubspec.yaml file and add the… Read More »

Using Gradient in Flutter

By | April 18, 2019

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… Read More »

Bottom Navigation in Flutter

By | April 18, 2019

This article shows how to implement Bottom navigation using Tabs in Flutter.     Watch Video Tutorial     For that we need to have a TabController and a TabBarView Widget.   Create Tabs   This is our demo tab layout widget. Create a new file name FirstTab.dart and copy the contents into it. You… Read More »

Dropdown List in Flutter

By | April 17, 2019

We are going to create a simple dropdown in Flutter. Watch Video Tutorial     Create Model Class We will be listing a group of company names in a dropdown. For that we should create a model class named “Company”. So we have a static function that returns an array of companies. Now we will… Read More »

Stepper Widgets in Flutter

By | April 15, 2019

Hello, Stepper is an awesome widget in Flutter. It makes developers job easy by writing less code.     Here we will have a UI as shown in the below screenshot.     First we will create a list of 3 Steps. Each Step will have a ‘title‘, ‘content‘ and isActive property. ‘content‘ can be… Read More »

Flutter – Tips & Tricks

By | April 6, 2019

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.  … Read More »

Webview in Flutter – Part 2

By | March 29, 2019

Welcome to another Webview tutorial, In this tutorial we will see what are the other API’s available in the webview_flutter plugin. Read the part-1 of this tutorial to get an introduction on webview in flutter.     Watch Video Tutorial     We will be implementing the below functionalities in our webview.   Show User… Read More »

Using Webview in Flutter – Part 1

By | March 28, 2019

We can use Webviews in Flutter with the help of webview plugins. I will be showing one of the plugins that is developed by the Flutter team. So Let’s start and we will add the dependency first Watch Video Tutorial     Add dependency   The plugin can be found in the below url https://pub.dartlang.org/packages/webview_flutter… Read More »