Categories
Flutter

Disable Multi Touch On A Widget In Flutter

In this post we will build a widget that can disable multi touch on a widget in Flutter app. Introduction Sometimes, you might need to disable multi touch or tap on a widget in your Flutter application. For example there is a list of items and only one of those items should be clickable at […]

Categories
Flutter

Breaking Down Flutter Project File/Folders

In this post we will be breaking down flutter project file/folders. We learn about the use for each of them in Flutter app. Introduction When you first create a Flutter app with the flutter create project_name command, you will see quite a lot of files and folders generated out for you. For a beginner, it […]

Categories
Flutter

JSON Serialization In Dart/Flutter With Built_Value

In this post, we will learn about JSON serialization in Dart/Flutter with Built_Value library. We will setup a serializer and see it in action. Introduction We have already covered introduction to built_value and it’s implementation detail in our previous posts. Now we are ready to jump into JSON serialization in dart/flutter with the built_value library. […]

Categories
Flutter

How To Use Built_Value Library In Flutter

In this post we will learn how to use built_value library in Flutter applications. We will break down the steps that you need to understand when working with built_value library in detail. Introduction We have already introduced what built value types are in our previous post. We also looked at why they are of importance […]

Categories
Flutter

Introduction To Built_Value Library In Dart

This post is an introduction to built_value library in Dart. We will go over what problem this library is solving in Dart and Flutter applications. Introduction Although Dart is an excellent programming language, the dart classes and enums aren’t very much efficient. They suffer from quite a few drawbacks like serialization, immutability and object comparison. […]

Categories
Flutter

Dependency Injection In Flutter With Inherited Widget

In this post, we will introduce the concept of dependency injection and learn to setup dependency injection in Flutter with inherited widget. Introduction To Dependency Injection Dependency Injection is a technique for resolving object dependencies during class initialization. It allows the creation of dependent objects outside of a class. This technique allows us to write […]

Categories
Flutter

Build An Image Picker Wrapper Widget In Flutter

In this post, we will learn to build an image picker wrapper widget in Flutter app that can be used to switch between camera and gallery. Introduction For uploading images from Flutter app, Google team has a plugin called “image_picker“. With the help of this library, we can pick images from device gallery as well […]

Categories
Flutter

Implements v/s Extends v/s With Keywords In Dart

In this post, we will go cover use cases for implements, extends and with keywords. Implements v/s Extends v/s With keywords in Dart. Introduction If you are developing a Flutter application, you should have seen a lot of use cases for implements, extends and with keywords. For someone who has never worked with Dart before, […]

Categories
Flutter

Implement BLoC Pattern With TextField

In this post we will learn to implement BLoC pattern with TextField of a Flutter app. We will use also use StreamController to receive user input and StreamHandler to show an error message if input is not valid. Introduction BLoC pattern is the preferred State Management pattern when developing mobile apps with Flutter. If you […]

Categories
Flutter

Flutter TextField Decoration In Depth

In this post we will learn everything there is to learn about Flutter Textfield decoration. Introduction A TextField in Flutter is a basic input field that allows users to enter text. It is one of the most fundamental widgets in Flutter. Yet there is so much to do with it. Create A TextField For the […]