update method

void update()

Implementation

void update() {
  world.stepDt(1 / 60);

  for (var item in allMenuItemsBox2D) {
    item.checkCurrentPositionAndStop();
  }
  notifyListeners();
}