registerBuilder static method

dynamic registerBuilder(
  1. RegisterBuilder builder, {
  2. bool autoInit = true,
})

注册组件, 自动执行init

Implementation

static registerBuilder(RegisterBuilder builder, {bool autoInit = true}) {
  builder(FastModuleManager.instance());
  if (autoInit) {
    FastModuleManager.instance()._autoInit();
  }
}