merge method

  1. @override
TextHeightBehaviorMix merge(
  1. covariant TextHeightBehaviorMix? other
)
override

Merges with another text height behavior.

Implementation

@override
TextHeightBehaviorMix merge(TextHeightBehaviorMix? other) {
  return TextHeightBehaviorMix.create(
    applyHeightToFirstAscent: MixOps.merge(
      $applyHeightToFirstAscent,
      other?.$applyHeightToFirstAscent,
    ),
    applyHeightToLastDescent: MixOps.merge(
      $applyHeightToLastDescent,
      other?.$applyHeightToLastDescent,
    ),
    leadingDistribution: MixOps.merge(
      $leadingDistribution,
      other?.$leadingDistribution,
    ),
  );
}