switchView method

void switchView(
  1. bool value
)

switches from one of the webviews to another

Implementation

void switchView(bool value) {
  isShowingFirst = value;
  notifyListeners();
}