window_placement 0.0.3
window_placement: ^0.0.3 copied to clipboard
A Flutter plugin capable of telling where an app is displayed on a mobile device display
0.0.3 #
WindowPlacementDetector.getBarRegion(edge, extent): where the system places a bar of that thickness along a window edge, clear of the status icons, rounded corners and home indicator (iOS 27.1+,UIView.LayoutRegion.bar(onEdge:extent:)). On the iPhone Duo, a bar on the edge with the status icons starts below them; a top bar ends before them. Null before iOS 27.1 and on Android.
0.0.2 #
- Supports Dart 3.9 / Flutter 3.35 and later (was Dart 3.10).
0.0.1 #
- Initial release:
WindowPlacementDetector.getPlacement()andWindowPlacementDetector.onPlacementChangedreport the window placement (fullscreen,left,right,top,bottom, corner tiles,floatingLeft/floatingTop/floatingRight/floatingBottom,floatingFullWidth,floatingFullHeight,floating) on iOS and Android, plustouchesLeftEdge/touchesTopEdge/touchesRightEdge/touchesBottomEdge. - iOS: supports both Swift Package Manager and CocoaPods.