copyWith method

  1. @useResult
FDialogContentStyle copyWith({
  1. TextStyle? titleTextStyle,
  2. TextStyle? bodyTextStyle,
  3. EdgeInsetsGeometry? padding,
  4. double? actionSpacing,
})
inherited

Returns a copy of this FDialogContentStyle with the given properties replaced.

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

@useResult
FDialogContentStyle copyWith({
  TextStyle? titleTextStyle,
  TextStyle? bodyTextStyle,
  EdgeInsetsGeometry? padding,
  double? actionSpacing,
}) => FDialogContentStyle(
  titleTextStyle: titleTextStyle ?? this.titleTextStyle,
  bodyTextStyle: bodyTextStyle ?? this.bodyTextStyle,
  padding: padding ?? this.padding,
  actionSpacing: actionSpacing ?? this.actionSpacing,
);