copyWith method
- @useResult
- FTileGroupStyle? tileGroupStyle,
- double? maxWidth,
- BoxDecoration? decoration,
- 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,
);