copyWith method

  1. @useResult
FPopoverStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsets? padding,
})

Returns a copy of this style with the given fields replaced by the new values.

Implementation

@useResult
FPopoverStyle copyWith({
  BoxDecoration? decoration,
  EdgeInsets? padding,
}) =>
    FPopoverStyle(
      decoration: decoration ?? this.decoration,
      padding: padding ?? this.padding,
    );