Form Validation in Flutter using flutter_bloc and Functional Programming (Either) — A Proper Way

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • formz

    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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts