glassSampleArea static method
Where UIKit reads the backdrop under glass (a glass of its own, not
the bar): the glass grown by its margin, a fifth of its short side.
Implementation
static Rect glassSampleArea(Rect glass) =>
glass.inflate(glass.shortestSide * 0.2);