TransparentPointer constructor

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

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

Implementation

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