copyWith method

  1. @useResult
FPopoverStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsetsGeometry? viewInsets,
})
inherited

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

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

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