AnimationFadeEffect constructor

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

Implementation

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