copyWith method
- @useResult
- BoxDecoration? decoration,
- TextStyle? textStyle,
- EdgeInsets? margin,
- EdgeInsets? padding,
Returns a copy of this FTooltipStyle with the given properties replaced.
Implementation
@useResult
FTooltipStyle copyWith({
BoxDecoration? decoration,
TextStyle? textStyle,
EdgeInsets? margin,
EdgeInsets? padding,
}) =>
FTooltipStyle(
decoration: decoration ?? this.decoration,
textStyle: textStyle ?? this.textStyle,
margin: margin ?? this.margin,
padding: padding ?? this.padding,
);