पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv3.0.0

panorama_viewer

पैनोरमा व्यूअर - एक 360-डिग्री पैनोरमा व्यूअर रीयूजेबल विजेट।

AndroidiOS
30-दिन डाउनलोड
13.9 हज़ार
लाइक
37
Pub अंक
160

पैकेज इंस्टॉल करें

flutter pub add panorama_viewer

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

पैनोरमा व्यूअर एक पुन: उपयोगी फ्लटर विजेट है जिसका उपयोग 360 डिग्री के पैनोरमा छवियों को चित्रित करने और सहज बातचीत के माध्यम से नेविगेट करने के लिए किया जाता है। इससे उपयोगकर्ता ड्रैग करने या डिवाइस को झुकाकर अंतर्मुखी गोलाकार दृश्यों का अन्वेषण कर सकते हैं, जो वर्चुअल टूर, रियल एस्टेट और यात्रा ऐप्स के लिए आदर्श है। प्रदर्शन और सरलता के लिए बनाया गया, यह विजेट Android और iOS दोनों प्लेटफॉर्म के लिए समर्थन करता है। इसे एक सीधे API के माध्यम से मौजूदा फ्लटर प्रोजेक्ट में बिना किसी दिक्कत के एकीकृत किया जा सकता है।

उपयोग

  • वर्चुअल टूर
  • रियल एस्टेट वॉकथ्रू
  • यात्रा और पर्यटन ऐप्स
  • इंटरैक्टिव उत्पाद प्रदर्शन
  • शैक्षिक 360° सामग्री

मुख्य विशेषताएँ

  • 360-डिग्री इंटरैक्टिव व्यूइंग
  • डिवाइस गति समर्थन
  • स्मूथ पैनिंग और जूमिंग
  • क्रॉस-प्लेटफ़ॉर्म सुविधा (Android और iOS)
  • Flutter के साथ सरल एकीकरण
  • प्रदर्शन के लिए अनुकूलित रенडरिंग

इनके लिए उपयुक्त

  • अविश्वसनीय अनुभव बनाने वाले डेवलपर्स
  • 360° छवि देखने की आवश्यकता वाले ऐप
  • Android और iOS के लिए मोबाइल एप्लिकेशन
  • दृश्य एंगेजमेंट पर केंद्रित प्रोजेक्ट्स

विचार योग्य बातें

  • उच्च रिज़ॉल्यूशन पैनोरमा छवियाँ आवश्यक हैं
  • कम शक्ति वाले डिवाइस पर प्रदर्शन पर प्रभाव पड़ सकता है
  • मूल नियंत्रण के अलावा सीमित कस्टमाइजेशन विकल्प
  • पूर्ण-स्क्रीन प्रदर्शन के लिए सबसे उपयुक्त

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Panorama Viewer

A 360-degree panorama viewer.

This package is an updated porting of the plugin https://github.com/zesage/panorama.

Getting Started

Add panorama as a dependency in your pubspec.yaml file.

dependencies:
  panorama_viewer: ^2.0.4

Import and add the Panorama Viewer widget to your project.

import 'package:panorama_viewer/panorama_viewer.dart';
... ...
  
@override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: PanoramaViewer(
          child: Image.asset('assets/panorama360.jpg'),
        ),
      ),
    );
  }

Migration from the Panorama package

  • In the dependencies, use panorama_viewer instead of panorama.
  • In the Dart files where you use panorama, change the import to: import 'package:panorama_viewer/panorama_viewer.dart';.
  • Change the widget name from Panorama to PanoramaViewer.
  • If you've used SensorControl, change SensorControl.Orientation to SensorControl.orientation. All constant names are now in lower camel case, following the latest Dart best practices.

Web implementation

On the web, sensors are not utilized because the sensor library used is only compatible with iOS and Android devices. Additionally, on some Android devices, if the panoramic image is too large, nothing is displayed. When checking the console log remotely, you may encounter WebGL errors or warnings.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 2 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।