FadeEffect constructor

const FadeEffect({
  1. Key? key,
  2. required Widget child,
  3. GestureTapCallback? onTap,
  4. double opacity = 0.6,
  5. HitTestBehavior? behavior,
})

Implementation

const FadeEffect({
  super.key,
  required this.child,
  this.onTap,
  this.opacity = 0.6,
  this.behavior,
});