expressiveResolveMotion function

ExpressiveMotion expressiveResolveMotion(
  1. ExpressiveBakedTheme baked,
  2. Brightness brightness
)

baked's motion in brightness. A theme's motion carries its scheme only; Reduce Motion and a pinned Standard subtree are read where a component runs (ExpressiveMotion.of).

Implementation

ExpressiveMotion expressiveResolveMotion(
  ExpressiveBakedTheme baked,
  Brightness brightness,
) => ExpressiveMotion(
  scheme: ExpressiveMotionScheme.values.byName(baked.motion.scheme),
);