ExpressiveMorph.between constructor

ExpressiveMorph.between(
  1. ExpressiveMaterialShape from,
  2. ExpressiveMaterialShape to
)

The shared morph from from to to, matched once per pair.

Implementation

factory ExpressiveMorph.between(
  ExpressiveMaterialShape from,
  ExpressiveMaterialShape to,
) => _shared[(from, to)] ??= ExpressiveMorph(from, to);