Retrieves the BoxSpec from the nearest Mix ancestor.
If no ancestor is found, returns BoxSpec.empty.
BoxSpec.empty
static BoxSpec of(BuildContext context) { final mix = Mix.of(context); return BoxSpec.from(mix); }