AnimatedExpansionVisibility constructor

const AnimatedExpansionVisibility({
  1. Key? key,
  2. Widget? child,
  3. required bool isVisible,
  4. double axisAlignment = 1,
  5. Duration? duration,
  6. Curve? curve,
})

Implementation

const AnimatedExpansionVisibility({
  super.key,
  this.child,
  required this.isVisible,
  this.axisAlignment = 1,
  Duration? duration,
  Curve? curve,
}) : super(
        duration: duration ?? const Duration(milliseconds: 200),
        curve: curve ?? Curves.linear,
      );