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 […]

Categories
Flutter

How To Call Method Of A Child Widget From Parent In Flutter

In this post we will learn how we can call methods of a child widget from a parent widget using GlobalKey. Introduction Often times we are faced with a senior where we want to call methods of child widget. Maybe you want to call it’s dispose method or want to update it’s state by calling […]

Categories
Git

Introduction To Version Control System

This post is an introduction to version control system. We will look at different types of version control system and compare them. Introduction Almost all developers use some sort of Version Control System (VCS). A VCS helps a team to keep track of changes to the source code made over time. If you are completely […]

Categories
Flutter

Detect Keyboard Visibility In Flutter App

In this post, we will learn how we can detect keyboard visibility in flutter application. Introduction In Flutter, user input fields like TextField automatically pops up keyboard when in focus. Similarly, the keyboard hides itself when you move the focus to a different widget or press back button. Now, if you want to keep track […]