copyWith method
- Color? backgroundColor,
- Color? submitButtonColor,
- EdgeInsets? contentPadding,
- BorderRadius? sheetBorderRadius,
Returns a copy with the given fields replaced.
Implementation
FeedbackThemeData copyWith({
Color? backgroundColor,
Color? submitButtonColor,
EdgeInsets? contentPadding,
BorderRadius? sheetBorderRadius,
}) {
return FeedbackThemeData(
backgroundColor: backgroundColor ?? this.backgroundColor,
submitButtonColor: submitButtonColor ?? this.submitButtonColor,
contentPadding: contentPadding ?? this.contentPadding,
sheetBorderRadius: sheetBorderRadius ?? this.sheetBorderRadius,
);
}