getBarRegion method
Where the system places a bar extent thick along edge, in window
coordinates, or null where the platform has no such API. Defaults to
null so implementations without it keep working.
Implementation
Future<Rect?> getBarRegion(WindowEdge edge, double extent) async => null;