ExpandableTile constructor

const ExpandableTile({
  1. Key? key,
  2. BorderSide cardSide = BorderSide.none,
  3. Radius cardRadius = const Radius.circular(4),
  4. Color? cardColor,
  5. Color? collapsedCardColor,
  6. Color? cardShadowColor,
  7. Color? cardSurfaceTintColor,
  8. double? cardElevation,
  9. Clip? cardClipBehavior = Clip.antiAlias,
  10. Duration duration = kThemeAnimationDuration,
  11. required Widget header,
  12. EdgeInsetsGeometry tilePadding = const EdgeInsets.symmetric(horizontal: m16, vertical: m4),
  13. required Widget body,
})

Implementation

const ExpandableTile({
  super.key,
  this.cardSide = BorderSide.none,
  this.cardRadius = const Radius.circular(4),
  this.cardColor,
  this.collapsedCardColor,
  this.cardShadowColor,
  this.cardSurfaceTintColor,
  this.cardElevation,
  this.cardClipBehavior = Clip.antiAlias,
  this.duration = kThemeAnimationDuration,
  required this.header,
  this.tilePadding = const EdgeInsets.symmetric(horizontal: m16, vertical: m4),
  required this.body,
});