Why does a single Flutter input field literally take hundreds of lines of code? Does anyone have a clean solution?

This page summarizes the projects mentioned and recommended in the original post on /r/FlutterDev

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • bloc

    A predictable state management library that helps implement the BLoC design pattern

  • You seem to be handling validation in the widget itself, you may wanna try take that logic out to a separated component (Bloc, ViewModel, Presenter, whatever you’re using for state management) this will clean things off while making it easy for you to edit/extend in the future as the validation won’t depend on the widget but the other way around, your widget will depend on the validation state. Check this example using Bloc: https://github.com/felangel/bloc/tree/master/examples/flutter_login

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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