Search packages, repositories and app categories

Package detailsv1.3.0

orientation

A Flutter plugin for device's orientation

30-day downloads
222
Likes
17
Pub points
60

Install package

flutter pub add orientation

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The orientation package provides a Flutter plugin to access and monitor the device's orientation, including pitch, roll, and yaw values. It enables developers to detect how a device is tilted in 3D space, useful for applications requiring motion awareness. The plugin works on Android and iOS platforms, offering real-time updates through streams. It simplifies integration with hardware sensors without requiring low-level native code. Ideal for games, augmented reality, and interactive UIs that respond to physical device movement.

Use cases

  • Augmented reality apps
  • Game development with motion controls
  • Interactive UIs responding to device tilt
  • Motion-based navigation
  • Sensor data visualization

Key features

  • Real-time orientation streaming
  • Supports pitch, roll, and yaw
  • Cross-platform (Android & iOS)
  • Simple API for sensor access
  • No native code required

Suitable for

  • Developers building motion-sensitive apps
  • AR/VR applications
  • Games using device movement
  • Educational tools with sensor feedback

Considerations

  • Requires device with gyroscope
  • Limited to Android and iOS
  • Background operation may be restricted
  • Accuracy depends on hardware calibration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

orientation

A Flutter plugin for device's orientation

pub

Patch for issues:13238

Patch for issues:23913 point 4

Categories

Source repository

Projects using this package