ExpanderProps constructor

const ExpanderProps({
  1. required Widget header,
  2. required Widget child,
  3. bool initiallyExpanded = false,
  4. void onExpansionChanged(
    1. bool expanded
    )?,
  5. Widget? leading,
  6. bool showIcon = true,
  7. EdgeInsets? contentPadding,
  8. bool maintainState = true,
})

Implementation

const ExpanderProps({
  required this.header,
  required this.child,
  this.initiallyExpanded = false,
  this.onExpansionChanged,
  this.leading,
  this.showIcon = true,
  this.contentPadding,
  this.maintainState = true,
});