merge method
Merges this instance with other, with other taking precedence.
Implementation
@override
DefaultTextStyleModifierMix merge(DefaultTextStyleModifierMix? other) {
if (other == null) return this;
return DefaultTextStyleModifierMix.create(
style: MixOps.merge(style, other.style),
textAlign: MixOps.merge(textAlign, other.textAlign),
softWrap: MixOps.merge(softWrap, other.softWrap),
overflow: MixOps.merge(overflow, other.overflow),
maxLines: MixOps.merge(maxLines, other.maxLines),
textWidthBasis: MixOps.merge(textWidthBasis, other.textWidthBasis),
textHeightBehavior: MixOps.merge(
textHeightBehavior,
other.textHeightBehavior,
),
);
}