Categories
Dart Flutter

BDD With Gherkin In Flutter

In this post we will learn about Behavior Driven Development BDD with Gherkin in Flutter. We will introduce the concept of BDD and learn how we can write Gherkin syntax feature files and parse them in Flutter. We will go over writing step definitions in detail and setup automated testing for the steps. Introduction To […]

Categories
Dart

For Loop, For Each Loop And Map In Dart

As the title suggests, in this post we will learn about various options for looping over collections in Dart. Specifically, we learn to use for,forEach and map in Dart. Introduction When working in any application, you quickly come across the need to work with collection of data. It can be a collection of simple strings […]

Categories
Flutter

How To Create Toast In Flutter

In this post we will learn to create Toast in Flutter. We create a wrapper class which can be used to load Toast anywhere within your Flutter application. Introduction In Android, a toast is a mechanism to show feedback for the user. The feedback is usually a short message which occupies a small area which […]

Categories
Dart Flutter

How To Decode A JSON Web Token(JWT) In Dart

This post covers the topic how to decode a JSON Web Token(JWT) in dart. We will learn about different elements of JWT and then write a function to extract payload data from token value. Introduction JSON Web Token (JWT) is an industry standard mechanism to pass security credentials and claims in a client-server architecture. A […]

Categories
.NET Core

Using Access Token And Refresh Token To Secure Web APIs

In this post, we will learn about using Access token and Refresh token to secure web APIs. We will try to cover all the whys, whats and buts related token based authentication. Why do we need access tokens in the first place? Access tokens help to improve a client-server user experience by reducing the number […]

Categories
.NET Core

Setup A Scheduled Repeating Task With .NET Core

In this post, we will learn to setup a scheduled repeating task with .NET Core framework. We will schedule a task that will repeatedly run at our desired time. Introduction In a client-server application, a scheduled task or service is a common need. Maybe you need to move your log files to a separate bucket […]

Categories
Dart

A Class In Dart

In this post, we will explore the object oriented concept of a class in Dart language. We will go in depth on topics such as constructors, abstract class, and private/public identifiers. Introduction In object oriented programming, a class is the most important basic building block. It represents a blueprint for creating data structure. It encapsulates […]

Categories
Git

Essential Day To Day GIT Commands

As the title suggests, this post will cover all the essential day to day GIT commands that you will need on a daily basis. Introduction Tired of looking around for the essential GIT commands? Well look no further. Go ahead and bookmark this page. Here we will cover all the essential GIT commands that you […]

Categories
Flutter

Generating Random Values In Dart

In this post, we will learn to generate various kinds of random values in Dart for your Flutter application. As a bonus, we will cover generating a random number including both positive and negative numbers. Introduction Often we need to work with random values in our application. Maybe we need to generate a random number […]

Categories
Flutter

Button Animations In Flutter using AnimatedBuilder

In this post we will learn to build button animations in Flutter using AnimatedBuilder widget. We will learn to create different variations of sweep effects like left to right and right to left on button click. Introduction Showing animations in any app is a great way to improve user experience. Even a small and basic […]