CustomExpansionTile constructor

const CustomExpansionTile({
  1. Key? key,
  2. ValueChanged<bool>? onExpansionChanged,
  3. bool maintainState = false,
  4. Widget? leading,
  5. required String title,
  6. required List<Widget> children,
  7. Color? backgroundColor,
  8. Color? collapsedBackgroundColor,
  9. Widget? trailing,
  10. required bool initiallyExpanded,
  11. EdgeInsetsGeometry? tilePadding,
  12. Alignment? expandedAlignment,
  13. CrossAxisAlignment? expandedCrossAxisAlignment,
  14. EdgeInsetsGeometry? childrenPadding,
  15. 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);