SelectionContainerModifier.disabled constructor

const SelectionContainerModifier.disabled({
  1. Key? key,
  2. Key? modifierKey,
  3. Widget? child,
})

Creates a selection container that disables selection for the subtree.

The child must not be null.

Implementation

const SelectionContainerModifier.disabled({
  super.key,
  super.modifierKey,
  super.child,
})  : registrar = null,
      delegate = null;