camera_grid 0.0.1 camera_grid: ^0.0.1 copied to clipboard
A Flutter widget that provides a dynamic camera grid overlay with gyroscope-based rotation and orientation-adaptive alignment box.
Changelog #
0.0.1 - 2024-10-18 #
🎉 Initial release of Gyro Camera Grid! 🎉
🚀 Features #
- Introduced the
GyroCameraGrid
widget- Responsive grid overlay that follows device orientation
- Smooth transitions between portrait and landscape modes
- Customizable grid color, accent color, and line width
- Snapping behavior with adjustable threshold
🧰 Core Components #
GyroCameraGrid
: Main widget for wrapping camera previewsCameraGridPainter
: Custom painter for rendering the grid and alignment boxGyroMath
: Utility class for handling orientation calculations
🎨 Customization Options #
- Grid color
- Accent color (for snapped alignment box)
- Grid line width
- Moving border radius
- Morph animation duration and curve
- Snap threshold