FLUTTER ECOSYSTEM

angles

Utility library for handling angles in radians, degrees and turns.

Latest version
2.1.1
30-day downloads
3.5K
Likes
20
Pub points
160

Package Overview

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

Overview

The angles package is a lightweight utility library for Dart and Flutter that simplifies working with angular measurements in radians, degrees, and turns. It provides intuitive methods to convert between these units, perform arithmetic operations, and handle common trigonometric scenarios. Designed for clarity and precision, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. Ideal for applications involving rotations, animations, or geometric calculations.

Use cases
  • 2D/3D graphics programming
  • game development with rotation logic
  • UI animations involving angles
  • robotics and navigation systems
  • mathematical modeling of circular motion
Key features
  • Seamless conversion between radians, degrees, and turns
  • Support for arithmetic operations on angles
  • Normalized angle values to prevent overflow
  • Immutable angle objects for safe usage
  • Cross-platform compatibility
Suitable for
  • Developers building interactive visual apps
  • Game developers needing precise rotation control
  • Math-focused applications requiring angular math
  • Flutter projects involving transforms or animations
Considerations
  • Not intended for high-performance numerical computing
  • Requires manual handling of edge cases like angle wrapping in complex logic
  • Limited to basic angular operations without advanced trig functions
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add angles

Categories

Dependencies

Dependency list 1 items

Related projects