createState method
Creates the state for this widget.
Returns a _NyFormPickerState instance that manages the dropdown selection
state and handles user interactions with the picker.
Implementation
@override
// ignore: no_logic_in_create_state
createState() => _NyFormPickerState(field);