CustomExpansionTile constructor
const
CustomExpansionTile({
- Key? key,
- ValueChanged<
bool> ? onExpansionChanged, - bool maintainState = false,
- Widget? leading,
- required String title,
- required List<
Widget> children, - Color? backgroundColor,
- Color? collapsedBackgroundColor,
- Widget? trailing,
- required bool initiallyExpanded,
- EdgeInsetsGeometry? tilePadding,
- Alignment? expandedAlignment,
- CrossAxisAlignment? expandedCrossAxisAlignment,
- EdgeInsetsGeometry? childrenPadding,
- double? sizedBoxHeight,
Implementation
const CustomExpansionTile({
Key? key,
this.onExpansionChanged,
this.maintainState = false,
this.leading,
required this.title,
required this.children,
this.backgroundColor,
this.collapsedBackgroundColor,
this.trailing,
required this.initiallyExpanded,
this.tilePadding,
this.expandedAlignment,
this.expandedCrossAxisAlignment,
this.childrenPadding,
this.sizedBoxHeight,
}) : super(key: key);