This should work similarly to the way `Material`-using widgets assert the fact that one of their parents is `Material`.