ExpandableListTileButton constructor

const ExpandableListTileButton({
  1. Key? key,
  2. required Widget expanded,
  3. Widget? title,
  4. Widget? subtitle,
  5. Color? backgroundColor,
  6. Color? expandedColor,
  7. Color? iconColor,
  8. Color? trailingIconColor,
  9. Color? borderColor,
  10. double elevation = 4.0,
  11. Widget? leading,
  12. IconData? icon,
  13. Widget customHeader(
    1. Function tapAction,
    2. bool isExpanded
    )?,
})

Creates an ExpandableListTileButton with the given properties.

Implementation

const ExpandableListTileButton({
  super.key,
  required this.expanded,
  this.title,
  this.subtitle,
  this.backgroundColor,
  this.expandedColor,
  this.iconColor,
  this.trailingIconColor,
  this.borderColor,
  this.elevation = 4.0,
  this.leading,
  this.icon,
  this.customHeader,
});