ExpansionTile constructor

ExpansionTile({
  1. required Object title,
  2. Object? subtitle,
  3. Widget? leading,
  4. Widget? trailing,
  5. List<Widget> children = const <Widget>[],
  6. bool initiallyExpanded = false,
  7. ValueCmdCallback<bool>? onExpansionChanged,
  8. bool enabled = true,
  9. bool dense = false,
  10. EdgeInsets? tilePadding,
  11. EdgeInsets? childrenPadding,
  12. Key? key,
})

Implementation

ExpansionTile({
  required this.title,
  this.subtitle,
  this.leading,
  this.trailing,
  this.children = const <Widget>[],
  this.initiallyExpanded = false,
  this.onExpansionChanged,
  this.enabled = true,
  this.dense = false,
  this.tilePadding,
  this.childrenPadding,
  super.key,
});