Our great sponsors
-
form-validation
This is a sample project that demonstrates how we can implement form validation in flutter in a proper way (i.e. without having any business logic in the UI). This project is meant to be used for an online article.
To check the remaining UI source code, I’d suggest you take a look at this repo which contains the source code for the entire project.
-
This article demonstrated how you can perform form validation in Flutter using proper techniques and without having any business logic in the UI. There are several other ways to do the same thing. One of them happens to be formz package.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
freezed
Code generation for immutable classes that has a simple syntax/API without compromising on the features.
Before anything, let’s add some dependencies and dev-dependencies that we will require for this project. You will be needing dartz, equatable, flutter_bloc, and freezed_annotation as your dependencies. Also, build_runner and freezed as your dev-dependencies.