https://github.com/odd-io/panorama_image
Flutter widget to display equirectangular projection panoramas with basic pan and zoom functionality.
https://github.com/odd-io/panorama_image
360 flutter panorama
Last synced: 10 months ago
JSON representation
Flutter widget to display equirectangular projection panoramas with basic pan and zoom functionality.
- Host: GitHub
- URL: https://github.com/odd-io/panorama_image
- Owner: odd-io
- License: mit
- Created: 2024-10-28T13:47:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T19:48:12.000Z (over 1 year ago)
- Last Synced: 2025-04-06T17:36:18.638Z (about 1 year ago)
- Topics: 360, flutter, panorama
- Language: C++
- Homepage: https://pub.dev/packages/panorama_image
- Size: 271 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Panorama Image 🖼️
A Flutter widget for displaying and interacting with 360° panoramic images using equirectangular projection.
Available for all platforms supported by Flutter.
## Features ✨
- Display 360° panoramic images with proper spherical projection
- Smooth pan and zoom interactions
- Mouse and touch support
## Installation 📦
Add this to your package's `pubspec.yaml` file:
```yaml
dependencies:
panorama_image: ^0.0.1
```
## Usage 💡
See the [example app](example/lib/main.dart) for a complete example.
### Basic Example
```dart
import 'package:panorama_image/panorama_image.dart';
PanoramaViewer(
image: AssetImage('assets/panorama.jpg'),
initialFOV: 90.0,
onViewChanged: (details) {
print('Longitude: ${details.longitude}');
print('Latitude: ${details.latitude}');
print('FOV: ${details.fov}');
},
)
```
## 📄 License
This project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.
---
Made with ❤️ by [odd.io](https://odd.io/)