SelectionRegistrarScope constructor Null safety

const SelectionRegistrarScope(
  1. {Key? key,
  2. required SelectionRegistrar registrar,
  3. required Widget child}
)

Creates a selection registrar scope that host the registrar.

Implementation

const SelectionRegistrarScope({
  super.key,
  required SelectionRegistrar this.registrar,
  required super.child,
}) : assert(registrar != null);