SemanticsModifier.fromProperties constructor

const SemanticsModifier.fromProperties({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. bool container = false,
  5. bool explicitChildNodes = false,
  6. bool excludeSemantics = false,
  7. required SemanticsProperties properties,
})

Creates a semantic annotation using SemanticsProperties.

The container and properties arguments must not be null.

Implementation

const SemanticsModifier.fromProperties({
  super.key,
  super.child,
  super.modifierKey,
  this.container = false,
  this.explicitChildNodes = false,
  this.excludeSemantics = false,
  required this.properties,
});