MetaData constructor Null safety

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

Creates a widget that hold opaque meta data.

The behavior argument defaults to HitTestBehavior.deferToChild.

Implementation

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