operator + method

  1. @override
  2. @mustCallSuper
T operator +(
  1. T operand
)
override

Implementation

@override
@mustCallSuper
T operator +(T operand) {
  return (super + operand)
    ..width = this().width != null ? this().width! + (operand().width ?? this().width!) : null
    ..height = this().height != null ? this().height! + (operand().height ?? this().height!) : null
    ..widthFactor = this().widthFactor + operand().widthFactor
    ..heightFactor = this().heightFactor + operand().heightFactor
    ..padding = this().padding + operand().padding
    ..margin = this().margin + operand().margin
    ..alignment = this().alignment != null ? this().alignment! + (operand().alignment ?? this().alignment!) : null;
}