FadeTransitionModifier constructor

const FadeTransitionModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required Animation<double> opacity,
  5. bool alwaysIncludeSemantics = false,
})

Creates an opacity transition.

The opacity argument must not be null.

Implementation

const FadeTransitionModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.opacity,
  this.alwaysIncludeSemantics = false,
});