SizeFadeTransition constructor

const SizeFadeTransition({
  1. Key? key,
  2. required Animation<double> animation,
  3. double sizeFraction = 2 / 3,
  4. Curve curve = Curves.linear,
  5. Axis axis = Axis.vertical,
  6. double axisAlignment = 0.0,
  7. Widget? child,
})

Implementation

const SizeFadeTransition({
  Key? key,
  required this.animation,
  this.sizeFraction = 2 / 3,
  this.curve = Curves.linear,
  this.axis = Axis.vertical,
  this.axisAlignment = 0.0,
  this.child,
})  : assert(sizeFraction >= 0.0 && sizeFraction <= 1.0),
      super(key: key);