setPosition method
Implementation
void setPosition(int newPosition) {
String keyDefaultPosition = "$newPosition";
dropdownValue = keyDefaultPosition;
selected_position = newPosition;
setState(() {
});
}
void setPosition(int newPosition) {
String keyDefaultPosition = "$newPosition";
dropdownValue = keyDefaultPosition;
selected_position = newPosition;
setState(() {
});
}