ExpandChildWidget constructor

const ExpandChildWidget({
  1. Key? key,
  2. String? collapsedHint,
  3. String? expandedHint,
  4. EdgeInsets? arrowPadding,
  5. Color? arrowColor,
  6. double arrowSize = 30,
  7. IconData? icon,
  8. TextStyle? hintTextStyle,
  9. ExpandArrowStyle expandArrowStyle = ExpandArrowStyle.icon,
  10. bool capitalArrowtext = true,
  11. bool expand = false,
  12. Duration animationDuration = _kExpand,
  13. Widget? child,
  14. bool hideArrowOnExpanded = false,
})

Implementation

const ExpandChildWidget({
  Key? key,
  this.collapsedHint,
  this.expandedHint,
  this.arrowPadding,
  this.arrowColor,
  this.arrowSize = 30,
  this.icon,
  this.hintTextStyle,
  this.expandArrowStyle = ExpandArrowStyle.icon,
  this.capitalArrowtext = true,
  this.expand = false,
  this.animationDuration = _kExpand,
  this.child,
  this.hideArrowOnExpanded = false,
})  : assert(hideArrowOnExpanded != null),
      super(key: key);