RtProvider<T extends Object?>.init constructor

RtProvider<T extends Object?>.init(
  1. InstanceBuilder<T> instanceBuilder, {
  2. Key? key,
  3. String? id,
  4. DependencyMode mode = DependencyMode.builder,
  5. Widget? child,
  6. InstanceChildBuilder<T>? builder,
})

Implementation

RtProvider.init(
  InstanceBuilder<T> instanceBuilder, {
  Key? key,
  String? id,
  DependencyMode mode = DependencyMode.builder,
  Widget? child,
  InstanceChildBuilder<T>? builder,
}) : super(
        instanceBuilder,
        key: key,
        id: id,
        mode: mode,
        init: true,
        child: child,
        builder: builder,
      ) {
  createInstance();
}