ExpandableTile constructor
const
ExpandableTile({
- Key? key,
- BorderSide cardSide = BorderSide.none,
- Radius cardRadius = const Radius.circular(4),
- Color? cardColor,
- Color? collapsedCardColor,
- Color? cardShadowColor,
- Color? cardSurfaceTintColor,
- double? cardElevation,
- Clip? cardClipBehavior = Clip.antiAlias,
- Duration duration = kThemeAnimationDuration,
- required Widget header,
- EdgeInsetsGeometry tilePadding = const EdgeInsets.symmetric(horizontal: m16, vertical: m4),
- 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,
});