edsonbonfim / form Goto Github PK
View Code? Open in Web Editor NEWA simple and powerful way to manipulate flutter forms. :rocket::zap:
Home Page: https://edsonbonfim.github.io/form
License: MIT License
A simple and powerful way to manipulate flutter forms. :rocket::zap:
Home Page: https://edsonbonfim.github.io/form
License: MIT License
Nice work, @edsonbonfim
I added support for inputFormatters, but it would be interesting to have predefined formatters like validators.
I would like to have formatters and validators for Brazilian CEP, CPF and CNPJ.
https://pub.dev/packages/brasil_fields
https://pub.dev/packages/cpf_cnpj_validator
Sometimes it is necessary to update the values and use formatters.
By the way, can you add support for the other properties of TextField as well?
I'm getting an error after upgrading to version 0.0.5
โโโโโโโโ Exception caught by widgets library โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The following NoSuchMethodError was thrown building Input(state: _InputState#70296):
The getter 'validators' was called on null.
Receiver: null
Tried calling: validators
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 _InputBaseState.didUpdateWidget (package:form/src/form.dart:533:41)
#2 StatefulElement.update (package:flutter/src/widgets/framework.dart:4690:58)
#3 Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
#4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
...
Support null safety.
The controller is being disposed when the Input is no longer visible.
The problem happens when using the Input in a ListView for example.
Please remove _controller.dispose();
Looking at text_form_field.dart this is not necessary.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.