updateTop method

void updateTop(
  1. double newValue
)

Implementation

void updateTop(double newValue){
  _state.top = newValue.toDouble();
  notifyListeners();
}