copyWith method

  1. @useResult
FPortalArrowStyle copyWith({
  1. double? cornerSpacing,
  2. double? baseRadius,
  3. double? width,
  4. double? height,
  5. double? tipRadius,
})

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

See customizing widget styles.

Parameters

Implementation

@useResult
FPortalArrowStyle copyWith({
  double? cornerSpacing,
  double? baseRadius,
  double? width,
  double? height,
  double? tipRadius,
}) => .new(
  cornerSpacing: cornerSpacing ?? this.cornerSpacing,
  baseRadius: baseRadius ?? this.baseRadius,
  width: width ?? this.width,
  height: height ?? this.height,
  tipRadius: tipRadius ?? this.tipRadius,
);