A must to have .NET Developers tool.

Recently came across NDepend, static code analysis tool that impressed me with its rich feature and strong emphasis on visual presentation of code architecture and quality.

What is static code Analysis ?

A static code analysis is methodology used to examine the software program without actually running it. This is achieved by analyzing a set of code against set of rules. It helps in early detection of code issue and ensure code quality without adding technical debts.

NDepend Overview

A static code analyzer specifically designed for .NET managed code with excellent visual reporting, supporting tons of code metrics.

A comprehensive dashboard is generated in few seconds providing in-depth…

Cloud Firestore is a NoSQL structured database hosted on cloud and provide enough flexibility and scalability. Cloud Firestore currently has scaling limit around 1 million concurrent connections and approximately 10K operations/sec. It has Collections, documents, fields. On the other side real-time database is giant JSON tree. Data is stored in JSON format.

Using Cloud Firestore in your App.

pre-requisite: Connect existing Flutter app to firebase. if need any details, please refer Quick set up- Integrating Flutter App with Firebase

Step 1: In you Firebase account, choose your project that you want to continue.

Step 2: In left pane, you would…

Flutter and Firebase works together to help you to build mobile applications in record time. Flutter is Google’s SDK for creating mobile apps for iOS and Android device. Firebase works as a backend for mobile apps. It gives you facilities like authentication, database, storage, hosing and many more without maintaining your own server.

Prerequisite : Existing flutter app in which user want to integrate firebase, If yes then start follow from step 2. Otherwise,

Step 1. Create new flutter project in Android Studio

Dart is an open-source general-purpose programming language developed by Google. Dart is an object-oriented language with C-style syntax.

Main target of Dart is to develop flutter applications. As Dart is object-oriented programming language it supports interfaces, classes, collections, generics etc.

You can execute dart program by using online editor at https://dartpad.dartlang.org/

In situations, where instructions needs to be executed based on certain conditions, these conditional statements are known as decision making statement.

There are 4 types of decision making statements available in dart:

  1. if Statement
  2. if….else Statement
  3. else if Ladder
  4. switch…case Statement

Let’s see in detail:

  1. if Statement

it evaluates the condition and execute block of code, if condition is true



//block of code


//Next instruction

condition in if statement always return boolean value true/false.

If condition result is true then block of instruction is executed and then next instruction after if block.

And if condition result is…

Let’s see how to design login form and validate it in flutter.

To get a form in our Scaffold widget, we have to use Form widget

Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text("Login Page"),
body: SingleChildScrollView(
child: Form()

This will return nothing rather than the error messages. Form widget here is just a container for form.

To implement validation using Form() , we need global key that is going to tell us about any change in Form() widget.

For that just declare,
GlobalKey formkey = GlobalKey();
but since it is related to…


Listing is an important feature in mobile application development. Many times we need to design list of items that can be scrolled. ListView widget allows to create scrollable list.

Let’s understand ListView with small recipe app :

recipeList is list of objects of class Recipe

class Recipe {
String name;
String image;
String ingredients;
String recipe;

Recipe({this.image, this.name, this.ingredients, this.recipe});

List<Recipe> recipeList = [

To create a ListView, constructor of ListView widget is used.

ListView widget has 4 constructors

  1. ListView

This is a default constructor. This default constructor is used…

While writing programs, we need to repeat a certain set of instruction again and again. This is when loops come into the picture. Loops contain instructions that programmer wants to repeat. This repetition in loop is called iteration.

There are two types of loops:

Definite and Indefinite loop

Definite loop contains definite/fix number of iterations.

Example: for Loop

Indefinite loop contains indefinite/unknown number of iteration.

Example: while Loop and do…while Loop

For evaluating any value you need to write a special kind of statement, this statement is called expression. Operands and Operators are the main elements of expression.

Operands represent data

Operator is a special kind of symbol that tells how the operands will be processed to generate the result.

e.g. 5+3 here 5 and 3 are operands and +(plus sign) is the operator.

and whole 5+3 is the expression.

In Dart you get the following types of operators :

  • Arithmetic Operators
  • Relational Operators
  • Bitwise Operator
  • Assignment Operator
  • Logical Operator
  1. Arithmetic Operators

Following are the arithmetic operators supported by Dart

Variables are used to store information to be referenced and manipulated in the program. Variables are nothing but a kind of container that holds a piece of information. The main purpose of variables is to store and label data in memory, that can be used later on.

Dart language supported the following types:

  • Numbers
  • Strings
  • Boolean
  • Lists
  • Maps
  1. Numbers

Numbers in dart represent numeric literals. Programmer can define Numbers as Integer or as Double

Integer: Integer values represent non-fractional values (numeric values without decimal point) e.g. “5”

declared as:

 int a = 5;

int is a keyword to declared it…

Yogita Kumar

.NET Developer and Flutter Enthusiast | Coach and Trainer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store