copyWith method
- @useResult
- TextStyle? titleTextStyle,
- TextStyle? bodyTextStyle,
- EdgeInsets? padding,
- double? actionPadding,
Returns a copy of this FDialogContentStyle with the given properties replaced.
Implementation
@useResult
FDialogContentStyle copyWith({
TextStyle? titleTextStyle,
TextStyle? bodyTextStyle,
EdgeInsets? padding,
double? actionPadding,
}) =>
FDialogContentStyle(
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
bodyTextStyle: bodyTextStyle ?? this.bodyTextStyle,
padding: padding ?? this.padding,
actionPadding: actionPadding ?? this.actionPadding,
);