copyWith method

  1. @useResult
FPopoverMenuStyle copyWith({
  1. FTileGroupStyle? tileGroupStyle,
  2. double? maxWidth,
  3. BoxDecoration? decoration,
  4. EdgeInsetsGeometry? viewInsets,
})
inherited

Returns a copy of this FPopoverMenuStyle 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
FPopoverMenuStyle copyWith({
  FTileGroupStyle? tileGroupStyle,
  double? maxWidth,
  BoxDecoration? decoration,
  EdgeInsetsGeometry? viewInsets,
}) => FPopoverMenuStyle(
  tileGroupStyle: tileGroupStyle ?? this.tileGroupStyle,
  maxWidth: maxWidth ?? this.maxWidth,
  decoration: decoration ?? this.decoration,
  viewInsets: viewInsets ?? this.viewInsets,
);