Bottomsheet state isn't updated
See original GitHub issueDescribe the bug
I used to track the bottom sheet offset via Text(bottomSheetNavigator.navigatorSheetState.offset.value.toString())
. This worked in 0.17, but no longer works in 18. I know bottom sheet state was being touched a bunch in .18 and .19, so maybe a this is a new regression?
To Reproduce
Steps to reproduce the behavior:
- Text(bottomSheetNavigator.navigatorSheetState.offset.value.toString())
Environment:
0.19 (it used to work with 0.17)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
Flutter set state not updating variable value in bottomsheet ...
Any setState in bottom sheet with not reflect because, It is in a new context. Try making the bottom sheet a stateful widget...
Read more >How to Change / Update the State inside Bottom Sheet in Flutter
The reason is, when we click on the icon inside the bottom sheet, we are changing the state of the main widget but...
Read more >Updating state causes methods on bottom sheet to stop working
Describe what you expected to happen: The method on the bottom sheet should be called regardless of component state update. Reproducible sample ...
Read more >[solved] Update local state from bottom sheet
Hey everyone I having a problem, I have a bottom sheet with a listview every time when I click on list item, I...
Read more >BottomSheetBehavior setState method doesn't work before ...
1. Open the sample app · 2. Click in the "Show view" button. The BottomSheet won't expand and it can't be dragged from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Not stale 😄
@jossiwolf worth removing the stale label here too?