resolve static method
The motion a control in context uses: its own declared, else the
theme's — and none either way under reduced motion.
Implementation
static GlassDropMotion resolve(BuildContext context, GlassDropMotion? declared) =>
(declared ?? GlassTheme.of(context).dropMotion).orNoneUnderReducedMotion(context);