Flutter is a cross-platform app development framework by Google. In this article, I will talk about mocking dependent modules in unit tests using the mockito
library. If you are not familiar with testing in Flutter, I suggest you read this first.
Category: mobile
Testing Flutter Apps: Confidence and Faster Iteration
Flutter is a cross-platform application development framework. But no application is really complete without a comprehensive testing suite. In this article, I will tell you the basic principles of both unit- and widget-testing Flutter apps.
read more “Testing Flutter Apps: Confidence and Faster Iteration”BLoC in Flutter: Implement Clean, Flux-like Architecture
How to architect a Flutter application is a question that has no easy answer. Dart, being a multi-paradigmatic language, lets you mix and match OOP and functional programming approaches. It is very easy to mess things up when using both these concepts, but I am going to make your life a little easier using reactive programming and BLoC (Business Logic Component) library.
read more “BLoC in Flutter: Implement Clean, Flux-like Architecture”Everything You Need to Know About JSON in Flutter
While developing apps with Flutter, you most likely will have to use JSON in one form or another. In this article I will explain how to parse JSON, serialize data into JSON, and some advanced concepts.
read more “Everything You Need to Know About JSON in Flutter”GraphQL in Flutter: Learn By Doing
Flutter is taking the world by storm and this comes as no surprise. It offers unmatched performance and robust multi-platform support. In this article, I will walk you through integrating GraphQL into Flutter Apps, making queries, and performing mutations.
read more “GraphQL in Flutter: Learn By Doing”Sending HTTP requests in Dart (Flutter)
One of the most important things you should consider when developing a mobile app is how it communicates with external services. Usually, your code sends HTTP requests to do it. In this article, you will learn how to send HTTP requests in Flutter.
read more “Sending HTTP requests in Dart (Flutter)”Developing a TODO app with Flutter – Part 3
In this series of tutorials, I will walk you through the process of creating a TODO app with the Flutter framework. By the end, you will have a cross-platform TODO mobile application, which allows you to add, edit, remove and complete tasks, while persisting the data on Google Firebase. The series spans across 3 parts:
Part 1 – Setting up the development environment and creating the project
Part 2 – Implementing core functionality
Part 3 – Connecting your app to Google Firebase
Developing a TODO app with Flutter – Part 2
In this series of tutorials, I will walk you through the process of creating a TODO app with the Flutter framework. By the end, you will have a cross-platform TODO mobile application, which allows you to add, edit, remove and complete tasks, while persisting the data on Google Firebase. The series spans across 3 parts:
Part 1 – Setting up the development environment and creating the project
Part 2 – Implementing core functionality
Part 3 – Connecting your app to Google Firebase
Developing a TODO app with Flutter – Part 1
In this series of tutorials, I will walk you through the process of creating a TODO app with the Flutter framework. By the end, you will have a cross-platform TODO mobile application, which allows you to add, edit, remove and complete tasks, while persisting the data on Google Firebase. The series spans across 3 parts:
Part 1 – Setting up the development environment and creating the project
Part 2 – Implementing core functionality
Part 3 – Connecting your app to Google Firebase
React Native vs Flutter: which one should you use?
In recent years, cross-platform mobile development was steadily picking up speed, as more and more companies realize they can save time and money by switching from native development to cross-platform. There are a number of frameworks to help you with that, and in this post, I will compare two most popular ones: React Native and Flutter.
read more “React Native vs Flutter: which one should you use?”