bootstrapStatic<T> function

  1. @Deprecated('Renamed "runAppLegacy". See "runApp" for the preferred API.')
Future<ComponentRef<T>> bootstrapStatic<T>(
  1. Type componentType,
  2. [List<Object> providers = const [],
  3. void initReflector(
      )]
    )

    Starts a new AngularDart application with componentType as the root.

    See runAppLegacy for the new name of this method.

    Implementation

    @Deprecated('Renamed "runAppLegacy". See "runApp" for the preferred API.')
    Future<ComponentRef<T>> bootstrapStatic<T>(
      Type componentType, [
      List<Object> providers = const [],
      void Function() initReflector,
    ]) =>
        Future.microtask(
          () => runAppLegacy(
            componentType,
            createInjectorFromProviders: providers,
            initReflector: initReflector,
          ),
        );