copyWith method
Implementation
BetterCollapseTheme copyWith({
Color? backgroundColor,
Color? collapsedBackground,
Color? iconColor,
Color? collapsedIconColor,
Color? splashColor,
}) {
return BetterCollapseTheme(
backgroundColor: backgroundColor ?? this.backgroundColor,
collapsedBackground: collapsedBackground ?? this.collapsedBackground,
iconColor: iconColor ?? this.iconColor,
collapsedIconColor: collapsedIconColor ?? this.collapsedIconColor,
splashColor: splashColor ?? this.splashColor,
);
}