Hidden constructor

const Hidden({
  1. Key? key,
  2. required bool hidden,
  3. required Widget child,
  4. Axis direction = Axis.horizontal,
  5. Duration duration = kDefaultDuration,
  6. Curve curve = Curves.easeInOut,
  7. bool reverse = false,
  8. bool keepCrossAxisSize = false,
  9. bool keepMainAxisSize = false,
})

Implementation

const Hidden({
  super.key,
  required this.hidden,
  required this.child,
  this.direction = Axis.horizontal,
  this.duration = kDefaultDuration,
  this.curve = Curves.easeInOut,
  this.reverse = false,
  this.keepCrossAxisSize = false,
  this.keepMainAxisSize = false,
});