TranslucentPointer constructor

const TranslucentPointer({
  1. Key? key,
  2. bool translucent = true,
  3. Widget? child,
})

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

Implementation

const TranslucentPointer({
  super.key,
  this.translucent = true,
  super.child,
});