displayRadiusOf function
The display's corners where the platform reports them, which Android does from API 31; elsewhere a moving page stays square.
Implementation
BorderRadius displayRadiusOf(BuildContext context) =>
MediaQuery.displayCornerRadiiOf(context) ?? BorderRadius.zero;