copyWithThemeIfNull method

NeumorphismBorder copyWithThemeIfNull({
  1. Color? color,
  2. double? width,
})

Implementation

NeumorphismBorder copyWithThemeIfNull({Color? color, double? width}) {
  return NeumorphismBorder(
    isEnabled: isEnabled,
    color: this.color ?? color,
    width: this.width ?? width,
  );
}