copyWith method

FocusThemeData copyWith(
  1. FocusThemeData? other
)

Implementation

FocusThemeData copyWith(FocusThemeData? other) {
  if (other == null) return this;
  return FocusThemeData(
    primaryBorder: other.primaryBorder ?? primaryBorder,
    secondaryBorder: other.secondaryBorder ?? secondaryBorder,
    borderRadius: other.borderRadius ?? borderRadius,
    glowFactor: other.glowFactor ?? glowFactor,
    glowColor: other.glowColor ?? glowColor,
    renderOutside: other.renderOutside ?? renderOutside,
    animationCurve: other.animationCurve ?? animationCurve,
    animationDuration: other.animationDuration ?? animationDuration,
  );
}