SelectionContainer constructor

const SelectionContainer(
  1. {Key? key,
  2. SelectionRegistrar? registrar,
  3. required SelectionContainerDelegate delegate,
  4. 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.

The delegate and child must not be null.


const SelectionContainer({
  required SelectionContainerDelegate this.delegate,
  required this.child,