copyWith method

  1. @useResult
FDialogContentStyle copyWith({
  1. TextStyle? titleTextStyle,
  2. TextStyle? bodyTextStyle,
  3. EdgeInsets? padding,
  4. 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,
    );