ExpansionTiles constructor

const ExpansionTiles({
  1. Key? key,
  2. Widget? leading,
  3. required Widget title,
  4. List<Widget> children = const <Widget>[],
  5. Widget? child,
  6. bool initial = false,
  7. Widget? subtitle,
  8. Color? backgroundColor,
  9. ValueChanged<bool>? onExpansionChanged,
  10. Widget? trailing,
  11. Duration duration = const Duration(milliseconds: 200),
})

Implementation

const ExpansionTiles({
  super.key,
  this.leading,
  required this.title,
  this.children = const <Widget>[],
  this.child,
  this.initial = false,
  this.subtitle,
  this.backgroundColor,
  this.onExpansionChanged,
  this.trailing,
  this.duration = const Duration(milliseconds: 200),
});