ExpandableWidget.showHide constructor

const ExpandableWidget.showHide({
  1. Key? key,
  2. Color? arrowColor,
  3. double arrowSize = 24,
  4. ArrowBuilder? arrowWidgetBuilder,
  5. double? arrowWidgetHeight,
  6. Duration animationDuration = const Duration(milliseconds: 150),
  7. required Widget child,
  8. bool expand = false,
  9. Alignment alignment = Alignment.topCenter,
})

Auto control Show and hide child completely With a arrow at the bottom.

Implementation

const ExpandableWidget.showHide({
  Key? key,
  this.arrowColor,
  this.arrowSize = 24,
  this.arrowWidgetBuilder,
  this.arrowWidgetHeight,
  this.animationDuration = const Duration(milliseconds: 150),
  required this.child,
  this.expand = false,
  this.alignment = Alignment.topCenter,
})  : vsync = null,
      maxHeight = 0,
      mode = _ExpandMode.ShowHide,
      super(key: key);