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