I worked on a flutter program, but I have a problem that I can't solve, In showModalBottomSheet the widgets do not update when I do a setState();
I've already seen similar problems with the BottomSheet widget, but I need showModalBottomSheet
I would like to point out to you that I have a DraggableScrollableSheet in my showModalBottomSheet and once I close and reopen the widgets are updating but I want the widgets to update instantly
Can you help me resolve it?
Thanks in advance
I tried to do the same principle as BottomSheet but it didn't work
Use
StatefulBuilder
to wrap the widget you are calling inside the bottom sheet.