copyWith method

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