ExpansionTile constructor
ExpansionTile({
- required Object title,
- Object? subtitle,
- Widget? leading,
- Widget? trailing,
- List<
Widget> children = const <Widget>[], - bool initiallyExpanded = false,
- ValueCmdCallback<
bool> ? onExpansionChanged, - bool enabled = true,
- bool dense = false,
- EdgeInsets? tilePadding,
- EdgeInsets? childrenPadding,
- 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,
});