copyWith method
- @useResult
- TextStyle? titleTextStyle,
- TextStyle? bodyTextStyle,
- EdgeInsetsGeometry? padding,
- 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,
);