SelectionScope constructor
const
SelectionScope({
- Key? key,
- required SelectionRegistrar? registrar,
- required Widget child,
registrar is the registrar that ought to own Selectables in this
subtree, or null to disable selection for the subtree (Selectables
there see no ambient registrar and silently no-op).
Implementation
const SelectionScope({
super.key,
required SelectionRegistrar? registrar,
required super.child,
}) : super(registrar ?? const _NoSelection());