copyWith method

  1. @useResult
FTooltipStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsets? margin,
  3. EdgeInsets? padding,
  4. 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,
    );