Steps to reproduce:
- go to https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html
- open the picker in the dartpad and select a value other than Apple, e.g. Orange
- dismiss the picker and observe that the button has updated to the selected value
- open the picker again and observe that the initially selected value is Apple
- dismiss the picker and observe that the button does not update to Apple
Expected behavior:
the button should be updated to the selected value when the picker is dismissed
Steps to reproduce:
Expected behavior:
the button should be updated to the selected value when the picker is dismissed