Categories
Flutter

Stick Figure Design With CustomPaint

In this post we will continue the development of HangMan game in Flutter by drawing the Stick figure design with CustomPaint. So, far we have already setup the project and played around a little with CustomPaint widget. Drawing The Stick Figure With CustomPaint The main ingredient of the game that we are building in Flutter […]

Categories
Flutter

Setup HangMan Using CustomPaint Widget

This is the first part of the series where we are developing Hangman game in Flutter. In this post, we will be exploring the CustomPaint widget for setting up our game stage. At the end of this tutorial, we will have achieved drawing the hanging frame and noose for our game. Introduction CustomPaint Widget A […]

Categories
Flutter

Build Hangman Game In Flutter

In this series of articles, we will start from scratch and build Hangman game in Flutter. This is going to be an exciting series as we will explore a lot of programming concepts and Flutter widgets here while building this game. Introduction To Hangman The game itself is quite popular world wide so it doesn’t […]

Categories
Flutter

Exploring ValueNotifier In Flutter

In this post we will be exploring ValueNotifier in Flutter. We will learn how to use ValueNotifier along with the ValueListenableBuilder widget to update error message in a TextField. Introduction To ValueNotifier In Flutter In Dart, a ValueNotifier is a special type of class that extends a ChangeNotifer. A ValueNotifier can hold a single value. […]

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