removeWidget method

void removeWidget(
  1. String? className
)

Implementation

void removeWidget(String? className) {
  if(_activityStack.contains(className)){
    _activityStack.remove(className);
  }
}