Coder Social home page Coder Social logo

edsonbonfim / form Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 4.0 206 KB

A simple and powerful way to manipulate flutter forms. :rocket::zap:

Home Page: https://edsonbonfim.github.io/form

License: MIT License

Kotlin 0.24% Swift 0.80% Objective-C 0.08% Dart 98.88%

form's Introduction

Hi there ๐Ÿ‘‹

form's People

Contributors

edsonbonfim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

form's Issues

The getter 'validators' was called on null.

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)
...

A TextEditingController was used after being disposed.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.