I am quite new to Flutter and was trying to implement the CupertinoPicker Widget. When I press a button I want to be able to replace the current CupertinoPicker with another one. Unfortunately when I try this the text from the second UI is quite distorted.
Here are some images to help you understand my issue.
What exactly am I missing here?
Here is my code
Just wrap the
Center
widget with aContainer
widget. Here's a screenshot of the app and the code.