copyWithThemeIfNull method

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

Implementation

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