SelectionContainer constructor Null safety
- {Key? key,
- SelectionRegistrar? registrar,
- required SelectionContainerDelegate delegate,
- required Widget child}
Creates a selection container to collect the Selectables in the subtree.
If registrar is not provided, this selection container gets the SelectionRegistrar from the context instead.
Implementation
const SelectionContainer({
super.key,
this.registrar,
required SelectionContainerDelegate this.delegate,
required this.child,
}) : assert(delegate != null),
assert(child != null);