ZdsExpansionTile constructor

const ZdsExpansionTile(
  1. {Key? key,
  2. required Widget title,
  3. required Widget child,
  4. Widget? subtitle,
  5. Widget? bottom,
  6. bool initiallyExpanded = false,
  7. bool maintainState = true,
  8. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 24, vertical: 2),
  9. EdgeInsets titlePadding = const EdgeInsets.symmetric(horizontal: 24, vertical: 16),
  10. VoidCallback? onExpanded,
  11. VoidCallback? onCollapse,
  12. VoidCallback? onCollapsed,
  13. bool showDivider = true,
  14. bool expandWithIconOnly = false,
  15. bool hideExpansionSemantics = false,
  16. bool isExpandable = true,
  17. Color titleColor = Colors.transparent}
)

A tile that can be expanded and collapsed to reveal further information.

Implementation

const ZdsExpansionTile