{"name": "sensor_device_orientation", "latest": {"version": "0.1.0", "pubspec": {"name": "sensor_device_orientation", "description": "Sensor-based physical device orientation detection that works even when screen rotation is locked. Built on accelerometer data with hysteresis to prevent flickering. Ideal for camera apps and other UIs that need to rotate elements while keeping the screen layout fixed.", "version": "0.1.0", "homepage": "https://github.com/thesims1004/sensor_device_orientation", "repository": "https://github.com/thesims1004/sensor_device_orientation", "issue_tracker": "https://github.com/thesims1004/sensor_device_orientation/issues", "environment": {"sdk": "^3.10.4", "flutter": ">=3.0.0"}, "dependencies": {"flutter": {"sdk": "flutter"}, "sensors_plus": "^6.0.0"}, "dev_dependencies": {"flutter_test": {"sdk": "flutter"}, "flutter_lints": "^6.0.0"}, "screenshots": [{"description": "Screen locked to portrait. Device held upright \u2014 orientation reads portraitUp (quarterTurns: 0). All rotated UI elements sit upright.", "path": "doc/screenshots/portrait_up.jpg"}, {"description": "Same app, same portrait-locked screen, but the device is tilted counter-clockwise. Orientation is now landscapeLeft (quarterTurns: 1) and every rotated element follows the physical device pose.", "path": "doc/screenshots/landscape_left.jpg"}], "flutter": null}, "archive_url": "https://mirror.nju.edu.cn/dart-pub/packages/sensor_device_orientation/versions/0.1.0.tar.gz", "archive_sha256": "746b4c80cbd03f7791327add41f2b30337d9af810c006481b5be66cf601c4136", "published": "2026-04-19T15:32:13.186276Z"}, "versions": [{"version": "0.1.0", "pubspec": {"name": "sensor_device_orientation", "description": "Sensor-based physical device orientation detection that works even when screen rotation is locked. Built on accelerometer data with hysteresis to prevent flickering. Ideal for camera apps and other UIs that need to rotate elements while keeping the screen layout fixed.", "version": "0.1.0", "homepage": "https://github.com/thesims1004/sensor_device_orientation", "repository": "https://github.com/thesims1004/sensor_device_orientation", "issue_tracker": "https://github.com/thesims1004/sensor_device_orientation/issues", "environment": {"sdk": "^3.10.4", "flutter": ">=3.0.0"}, "dependencies": {"flutter": {"sdk": "flutter"}, "sensors_plus": "^6.0.0"}, "dev_dependencies": {"flutter_test": {"sdk": "flutter"}, "flutter_lints": "^6.0.0"}, "screenshots": [{"description": "Screen locked to portrait. Device held upright \u2014 orientation reads portraitUp (quarterTurns: 0). All rotated UI elements sit upright.", "path": "doc/screenshots/portrait_up.jpg"}, {"description": "Same app, same portrait-locked screen, but the device is tilted counter-clockwise. Orientation is now landscapeLeft (quarterTurns: 1) and every rotated element follows the physical device pose.", "path": "doc/screenshots/landscape_left.jpg"}], "flutter": null}, "archive_url": "https://mirror.nju.edu.cn/dart-pub/packages/sensor_device_orientation/versions/0.1.0.tar.gz", "archive_sha256": "746b4c80cbd03f7791327add41f2b30337d9af810c006481b5be66cf601c4136", "published": "2026-04-19T15:32:13.186276Z"}]}