copyWith method

  1. @override
FPopoverMenuStyle copyWith({
  1. FTileGroupStyle? tileGroupStyle,
  2. BoxDecoration? decoration,
  3. EdgeInsets? padding,
})
override

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

Implementation

@override
FPopoverMenuStyle copyWith({
  FTileGroupStyle? tileGroupStyle,
  BoxDecoration? decoration,
  EdgeInsets? padding,
}) =>
    FPopoverMenuStyle(
      tileGroupStyle: tileGroupStyle ?? this.tileGroupStyle,
      decoration: decoration ?? this.decoration,
      padding: padding ?? this.padding,
    );