addWidget method

void addWidget(
  1. BuildContext context
)

Implementation

void addWidget(BuildContext context) {
  String name=getClassName(context);
  if(_activityStack.contains(name)){
    _activityStack.remove(name);
  }
  _activityStack.add(name);
}