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
I am using ResponsiveListScaffold.builder to show lists on the left and once the user selects a list item on the left I show the Video View on the right.
I am facing a problem right now with that the initState function. It is not being called once I select a different list item from the left.
Since we initialize the Video Player inside the initState, the detail screen keep playing the old video, however, the other content (Text Widgets etc) is changed since they are being used in the build function.
Is there any solution to manually call initState of the detail screen once user select the item from the itemBuilder
Thanks.
The text was updated successfully, but these errors were encountered:
I may have had a similar issue and resolved it by ensuring that the Detail screen had a different Key specified so that Flutter knows that the Details changed and needs to be rebuilt.
Hi,
I am using
ResponsiveListScaffold.builder
to show lists on the left and once the user selects a list item on the left I show the Video View on the right.I am facing a problem right now with that the initState function. It is not being called once I select a different list item from the left.
Since we initialize the Video Player inside the initState, the detail screen keep playing the old video, however, the other content (Text Widgets etc) is changed since they are being used in the build function.
Is there any solution to manually call initState of the detail screen once user select the item from the itemBuilder
Thanks.
The text was updated successfully, but these errors were encountered: