copyWithThemeIfNull method

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

Implementation

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