MetaDataModifier constructor

const MetaDataModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. dynamic metaData,
  5. HitTestBehavior behavior = HitTestBehavior.deferToChild,
})

Creates a widget that hold opaque meta data.

The behavior argument defaults to HitTestBehavior.deferToChild.

Implementation

const MetaDataModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.metaData,
  this.behavior = HitTestBehavior.deferToChild,
});