copyWith method
CardTitleConfig
copyWith({
- EdgeInsets? cardTitlePadding,
- BaseTextStyle? titleWithHeightTextStyle,
- BaseTextStyle? titleTextStyle,
- BaseTextStyle? subtitleTextStyle,
- BaseTextStyle? detailTextStyle,
- BaseTextStyle? accessoryTextStyle,
- PlaceholderAlignment? alignment,
- Color? cardBackgroundColor,
Implementation
CardTitleConfig copyWith({
EdgeInsets? cardTitlePadding,
BaseTextStyle? titleWithHeightTextStyle,
BaseTextStyle? titleTextStyle,
BaseTextStyle? subtitleTextStyle,
BaseTextStyle? detailTextStyle,
BaseTextStyle? accessoryTextStyle,
PlaceholderAlignment? alignment,
Color? cardBackgroundColor,
}) {
return CardTitleConfig(
cardTitlePadding: cardTitlePadding ?? _cardTitlePadding,
titleWithHeightTextStyle:
titleWithHeightTextStyle ?? _titleWithHeightTextStyle,
titleTextStyle: titleTextStyle ?? _titleTextStyle,
subtitleTextStyle: subtitleTextStyle ?? _subtitleTextStyle,
detailTextStyle: detailTextStyle ?? _detailTextStyle,
accessoryTextStyle: accessoryTextStyle ?? _accessoryTextStyle,
alignment: alignment ?? _alignment,
cardBackgroundColor: cardBackgroundColor ?? _cardBackgroundColor,
);
}