updateSelected method

void updateSelected(
  1. String newValue
)

Implementation

void updateSelected(String newValue ){

  setState(() {
    dropdownValue  = newValue;
    selected_position = int.parse(dropdownValue);
    startCallback( newValue );

  });
}