ExpandedCollapseRightWidget constructor

const ExpandedCollapseRightWidget(
  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. @required Widget child,
  14. @required Widget header,
  15. String expandImage,
  16. String collapseImage,
  17. double paddingBtnHeader = 0,
  18. bool hideArrowOnExpanded = false}
)

Implementation

const ExpandedCollapseRightWidget({
  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,
  @required this.child,
  @required this.header,
  this.expandImage,
  this.collapseImage,
  this.paddingBtnHeader = 0,
  this.hideArrowOnExpanded = false,
})  : assert(hideArrowOnExpanded != null),
      super(key: key);