TransparentPointer constructor

const TransparentPointer({
  1. required Widget? child,
  2. bool transparent = true,
  3. Key? key,
})

Creates a widget that is invisible for its parent to hit testing, but still allows its subtree to receive pointer events.

Implementation

const TransparentPointer({
  required super.child,
  this.transparent = true,
  super.key,
});