copyWith method

  1. @useResult
FTooltipStyle copyWith({
  1. BoxDecoration? decoration,
  2. ImageFilter? backgroundFilter,
  3. EdgeInsets? padding,
  4. TextStyle? textStyle,
})

Returns a copy of this FTooltipStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FTooltipStyle copyWith({
  BoxDecoration? decoration,
  ImageFilter? backgroundFilter,
  EdgeInsets? padding,
  TextStyle? textStyle,
}) => FTooltipStyle(
  decoration: decoration ?? this.decoration,
  backgroundFilter: backgroundFilter ?? this.backgroundFilter,
  padding: padding ?? this.padding,
  textStyle: textStyle ?? this.textStyle,
);