filled method
ZeroExpansionTileStyle
filled({
- Widget? leading,
- Widget? trailing,
- Color? titleColor,
- Color? collapsedTitleColor,
- Color? childrenBackgroundColor,
- Color? textColor,
- Color? collapsedTextColor,
- ShapeBorder? shape,
- ShapeBorder? collapsedShape,
Implementation
ZeroExpansionTileStyle filled(
{Widget? leading,
Widget? trailing,
Color? titleColor,
Color? collapsedTitleColor,
Color? childrenBackgroundColor,
Color? textColor,
Color? collapsedTextColor,
ShapeBorder? shape,
ShapeBorder? collapsedShape}) {
return copyWith(
variant: AccordionVariant.filled,
leading: leading,
trailing: trailing,
backgroundColor: titleColor ?? this.titleColor,
collapsedBackgroundColor:
collapsedTitleColor ?? this.collapsedTitleColor,
childrenBackgroundColor:
childrenBackgroundColor ?? this.childrenBackgroundColor,
shape: Border.all(
color: ZeroColors.transparent,
width: 0,
),
collapsedShape: Border.all(
color: ZeroColors.transparent,
width: 0,
));
}