InheritedRegistry constructor Null safety

const InheritedRegistry(
  1. {Key? key,
  2. required Widget child,
  3. required ComponentRegistry componentRegistry}
)

Implementation

const InheritedRegistry(
    {Key? key,
    required Widget child,
    required ComponentRegistry componentRegistry})
    : _componentRegistry = componentRegistry,
      super(key: key, child: child);