There are several types of Flutter Tests that you could use to verify different aspects of your logic in your applications. Unit Tests Similar to unit tests in other programming languages, these tests isolate individual units of code (e.g., functions or classes) to ensure they work correctly. They’re useful for testing business logic, API calls,…
Author: Toma Velev
Run Modes, Environments and Flavors in Flutter
One of the features of Flutter – open-source mobile app development framework created by Google – is its ability to support multiple environments, flavors, which enable developers to deploy their apps in various configurations. It has also two run modes – when the app is under development and when it is in the hands of…
Products that a Software Engineer might Purchase
Based on market trends and demand, here are some of the most Popular content Products that a Software Engineer might Purchase. Online Courses General Purpose Programming languages for – starters to Pro(e.g., Python, Java, JavaScript) Web development frameworks (e.g., React, Angular, Vue.js) Cloud computing platforms (e.g., AWS, Azure, Google Cloud) Data science and machine learning…
What are the most Popular Flutter Packages
Here are some of the most Popular Flutter Packages, categorized by their functionality that will be part of almost any app you that will build. UI and Layout fluttertoast: A simple toast notification package. flutter_statusbar: A package for customizing the status bar on Android and iOS devices. animated_text_kit: A package for creating animated text effects….
How to Scan a QR Code with Flutter
To Scan a QR Code in Flutter, you can several packages available at https://pub.dev/. If you are serious you will take into account how often it is updated and bug-fixed. This is an indicator that it is still used by the creator. Here are some examples and the steps: qr_code_scanner QR Code Scanner https://github.com/juliuscanute/qr_code_scanner has…
What is the equivalent oof BlocListener in Riverpod
In Riverpod, there isn’t a direct equivalent to BlocListener from the flutter_bloc package. However, you can achieve the same functionality using a combination of Consumer or ConsumerWidget and ref.listen. If you need getting started – go to https://programtom.com/dev/2024/09/10/getting-started-guide-of-flutter-riverpod/ Here’s how to replicate the behavior of BlocListener in flutter_riverpod: 1. Using ref.listen in ConsumerWidget You can…
Getting started guide of Flutter Riverpod
Integrate a state management solutionsb by using this step-by-step getting started guide of Riverpod in Flutter. What is Riverpod? Riverpod is a state management library for Flutter that helps you manage your app’s state in a predictable and efficient way. It provides a simple and intuitive API for managing data, making it easier to build…
Flutter QR Code Integrations 2024
Here are some common use cases for scanning QR code and some Flutter Integrations updated with more use cases from year 2024. Use Cases Some of the use cases may match with a previous article https://programtom.com/dev/2020/12/22/what-are-barcodes/ Payment and Transactions: Many e-commerce platforms, online payment systems, and mobile wallets use QR codes to facilitate transactions. For…
QR Code Generation with Java on Server-Side & Flutter on Client-Side
In this post, we will explore different strategies for generating QR code images in Java backend and mobile Flutter apps. Quick Response (QR) codes have become an essential tool for businesses to convey information quickly and easily. With the rise of mobile devices, generating QR codes has become a common requirement for various applications. Server-Side…
Minimal Code of Flutter App using Provider State Management
You could lift up the state of your widgets in your Flutter App and it could become independent with Minimal Code using Provider State Management and Go Router for a navigation. Any meaningful app has Multiple Screens Cross Screen State Single Screen Only State You could implement Navigating between screens with Go Router. Having Cross…