const
Widget.expansionTile(- {Key? key,
- Widget? leading,
- required Widget title,
- Widget? subtitle,
- @Default([]) List<Widget> children,
- Widget? trailing,
- @Default(false) bool initiallyExpanded,
- @Default(false) bool maintainState,
- EdgeInsets? tilePadding,
- CrossAxisAlignment? expandedCrossAxisAlignment,
- Alignment? expandedAlignment,
- EdgeInsets? childrenPadding,
- Color? backgroundColor,
- Color? collapsedBackgroundColor,
- Color? textColor,
- Color? collapsedTextColor,
- Color? iconColor,
- Color? collapsedIconColor,
- ShapeBorder? shape,
- ShapeBorder? collapsedShape,
- Clip? clipBehavior,
- ListTileControlAffinity? controlAffinity}
)
Implementation
const factory Widget.expansionTile({
Key? key,
Widget? leading,
required Widget title,
Widget? subtitle,
@Default([]) List<Widget> children,
Widget? trailing,
@Default(false) bool initiallyExpanded,
@Default(false) bool maintainState,
EdgeInsets? tilePadding,
CrossAxisAlignment? expandedCrossAxisAlignment,
Alignment? expandedAlignment,
EdgeInsets? childrenPadding,
Color? backgroundColor,
Color? collapsedBackgroundColor,
Color? textColor,
Color? collapsedTextColor,
Color? iconColor,
Color? collapsedIconColor,
ShapeBorder? shape,
ShapeBorder? collapsedShape,
Clip? clipBehavior,
ListTileControlAffinity? controlAffinity,
}) = ExpansionTile;