expressiveSpringTokenOf function
The generated spring token of key in scheme: Compose's
ExpressiveMotionTokens or StandardMotionTokens.
Implementation
SpringToken expressiveSpringTokenOf(
ExpressiveMotionScheme scheme,
ExpressiveMotionKey key,
) => switch (scheme) {
ExpressiveMotionScheme.expressive => ExpressiveMotionTokens.of(key),
ExpressiveMotionScheme.standard => StandardMotionTokens.of(key),
};