Say you have a View
with a Picker
inside and want to set the initial selection from outside the view. Just passing the selection and setting it on the state property doesn’t work, but initializing the State
wrapper directly does.
Say you have a View
with a Picker
inside and want to set the initial selection from outside the view. Just passing the selection and setting it on the state property doesn’t work, but initializing the State
wrapper directly does.