RenderMetaData constructor Null safety

RenderMetaData(
  1. {dynamic metaData,
  2. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  3. RenderBox? child}
)

Creates a render object that hold opaque meta data.

The behavior argument defaults to HitTestBehavior.deferToChild.

Implementation

RenderMetaData({
  this.metaData,
  HitTestBehavior behavior = HitTestBehavior.deferToChild,
  RenderBox? child,
}) : super(behavior: behavior, child: child);