Tag Archives: dart

Doing Simple Navigation in Flutter – Simple Example

By | October 12, 2018

Navigation is done is Flutter using the Navigator class. Lets look at a simple example The first thing you have to register routes for difference screen is to build a Map of ‘String’ (route) and the page (Widget).   Lets say I have a utility class for the Creating Routes named routes.dart. The contents of route.dart contains the… Read More »

GridView Demo in Flutter

By | October 10, 2018

Hi Friends, Today we will see how to implement GridView in Flutter.     We are going to use this service for the data First we will create a Model for the Grid Cell [java] class HomeCellVO { int id; String title; String icon; HomeCellVO({this.id, this.title, this.icon}); factory HomeCellVO.fromJson(Map<String, dynamic> json) { return HomeCellVO( id: json[‘id’] as int,… Read More »

Doing HTTP Calls in Flutter and Parsing Data

By | October 7, 2018

Here is a simple example of doing Http calls in Flutter. In this example we will try to fetch some JSON value from the below url https://jsonplaceholder.typicode.com/posts/1 You can read more from here. Add Dependencies First you need to add the http plugin in dependencies. [java] dependencies: http: <latest_version> [/java] The latest version of http can be found… Read More »

SQlite Database Operations in Flutter

By | September 27, 2018

Watch Video Tutorial   Add Dependency SQFlite is a Flutter library for doing local Database Operations. You can download it from here. To Integrate SQFlite library in your project In your flutter project add the dependency: [java] dependencies: … sqflite: any [/java] You can download the sample project from here. employee.dart [java] class Employee { int id; String… Read More »