showChild method

void showChild(
  1. Widget child
)

Implementation

void showChild(Widget child)
{
  this.child = child;
  notifyListeners();
}