Tag Archives: createState

Flutter Tutorials – Form Validation (Android and iOS)

By | January 5, 2019

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 »

File Operations in Flutter – Read and Write Files – Easiest Example

By | December 26, 2018

In Today’s tutorial, we will see how to handle files in Flutter. Its so easy… So Let’s start… Below is the sample app we are going to create…   Watch Video Tutorial   Add Dependencies For handling files in Flutter, we have to add a flutter dependency. Go to the below link and read more about the dependency.… Read More »

Load data from internet to a GridView in Flutter with Retry Logic, JSON parsing and Error handling in Flutter

By | December 15, 2018

I am assuming that you already have some understanding about Flutter. If you have no information about Flutter SDK, then I could recommend first going to flutter.io and get the initial knowledge. Our Final app will look like this. You can watch the complete video tutorial from here… App will implement GridView JSON Implementation Error Handling Retry Implementation… Read More »

How to do Unit Test of functions and Widgets in Flutter?

By | September 24, 2018

Lets see how we can test Flutter Apps. It would be easy if we continue from the previous example…   To test Widgets, we will use the ‘testWidgets’ function. Lets see how it will look like… The test function in MyHomePage will look like this Run Tests To run test we have to run ‘flutter test test/widget_test.dart’ in… Read More »