addWidgets method

void addWidgets(
  1. Map<String, dynamic> widgets
)

添加路由组件

Implementation

void addWidgets(Map<String, dynamic> widgets) {
  widgets.forEach((key, value) {
    addWidget(key, value);
  });
}