TransitionContainer.flip constructor

TransitionContainer.flip({
  1. Key? key,
  2. required Widget bottomChild,
  3. required Curve curve,
  4. required double height,
  5. Duration? duration,
  6. int? data,
})

Wrap a widget with flip transition.

Implementation

TransitionContainer.flip({
  Key? key,
  required Widget bottomChild,
  required Curve curve,
  required double height,
  this.duration,
  this.data,
})  : builder = FlipBuilder(
        height,
        curve: curve,
        bottomChild: bottomChild,
      ),
      super(key: key);