This bug produces an error when i ran unit tests and fill some of the textbox (for instance 3/6)
The error when running unit tests is
The following assertion was thrown while dispatching notifications for FocusNode:
setState() called after dispose(): PinCodeTextFieldState#a65d5(lifecycle state: defunct, not
mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in
the widget tree (e.g., whose parent widget no longer includes the widget in its build)
This bug produces an error when i ran unit tests and fill some of the textbox (for instance 3/6)
The error when running unit tests is
The following assertion was thrown while dispatching notifications for FocusNode: setState() called after dispose(): PinCodeTextFieldState#a65d5(lifecycle state: defunct, not mounted) This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build)