DualTransitionBuilderModifier constructor

const DualTransitionBuilderModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required Animation<double> animation,
  5. required AnimatedTransitionBuilder forwardBuilder,
  6. required AnimatedTransitionBuilder reverseBuilder,
})

Creates a DualTransitionBuilder.

The animation, forwardBuilder, and reverseBuilder arguments are required and must not be null.

Implementation

const DualTransitionBuilderModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.animation,
  required this.forwardBuilder,
  required this.reverseBuilder,
});