copyWithThemeIfNull method

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

Implementation

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