You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Hi, I found a bug that !_dirty is called on null. Let me explain with my use case that you can understand the things better.
(In old version it used to give index out of range exception)
I have 3 radio buttons in my view & based on option users chooses, I have display different text fields.
For first radio button, I need a text field with 10 boxes (I am using pin code text field)
For second radio button, Plain textField is needed (I am using simple TextField widget of flutter)
For third radio button, I need a text field with 4 boxes (I am using same 1st component but passing maxLength as 4 -- To get the desired animation)
I am attaching snippet which can give the UI of my use case
(Once the UI is built according to my use case then by default you will be on radio button 1 & to reproduce the issue tap on button-2, then button-3 & back to button-1. You will see the error)
My Use case / Actual bug
Hi, I found a bug that
!_dirty
is called on null. Let me explain with my use case that you can understand the things better.(In old version it used to give index out of range exception)
I have 3 radio buttons in my view & based on option users chooses, I have display different text fields.
I am attaching snippet which can give the UI of my use case
(Once the UI is built according to my use case then by default you will be on radio button 1 & to reproduce the issue tap on button-2, then button-3 & back to button-1. You will see the error)
Additional Info
I had one fix for this issue but that will kill the length switch animation.
I fix I had is having different key for both button 1 & 3.
Flutter doctor goes here
The text was updated successfully, but these errors were encountered: