I have Widget1 which opens up ModalBottomSheet. ModalBottomSheet contains TextField(EditText) & one button. User can input values to TextField that can make button enable/disable based on some validation. TextField is something customized component. This whole flow is made using dynamic forms. We are making use of streams to transfer TextField changes which are to be listened by Widget1(so that it can rebuild UI). But it seems when we have ModalBottomSheet on the screen the Widget1 is unable to listen to any change. If i am making use of simple widget instead of ModalBottomSheet then it works properly. On most of the blogs i found about "StatefulBuilder" inside ModalBottomSheet, but that will not solve this problem as it will be helpful if user is making any direct change inside ModalBottomSheet(like button click or so).
Please suggest some approach to resolve this issue.