panorama_viewer_plus 0.1.2 copy "panorama_viewer_plus: ^0.1.2" to clipboard
panorama_viewer_plus: ^0.1.2 copied to clipboard

Panorama Viewer Plus - A 360-degree panorama viewer. Supports: Android, iOS, Tablet, Web Support(Mobile/Desktop).

Panorama Viewer Plus #

A 360-degree panorama viewer. Supported platforms: Android, iOS, Tablet, Web Support(Mobile/Desktop).

This package is an updated porting of the plugin https://github.com/dariocavada/panorama_viewer

Screenshot #

screenshot

Getting Started #

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

dependencies:
  panorama_viewer_plus: ^0.1.0

Import and add the Panorama Viewer widget to your project.

import 'package:panorama_viewer_plus/panorama_viewer_plus.dart';
... ...

@override
Widget build(BuildContext context) {
  var deviceSize = MediaQuery.of(context).size;
  return Scaffold(
    appBar: AppBar(title: const Text("Custom Panorama Viewer")),
    body: Center(
      child: CustomPanoramaViewer(
        imagePath: 'https://raw.githubusercontent.com/ShreyaAmbaliya/panorama_viewer_plus/main/example/assets/test.jpg',
        width: deviceSize.width,
        height: 220,
      ),
    ),
  );
}

Set isAssetImage to true to view an asset image #

import 'package:panorama_viewer_plus/panorama_viewer_plus.dart';
... ...

@override
Widget build(BuildContext context) {
  var deviceSize = MediaQuery.of(context).size;
  return Scaffold(
    appBar: AppBar(title: const Text("Custom Panorama Viewer")),
    body: Center(
      child: CustomPanoramaViewer(
        imagePath:'assets/test.jpg',
        isAssetImage:true,
        width: deviceSize.width,
        height: 220,
      ),
    ),
  );
}

Support ❤️ #

Star project on github.com.

Like on pub.dev.

7
likes
130
points
74
downloads

Publisher

unverified uploader

Weekly Downloads

Panorama Viewer Plus - A 360-degree panorama viewer. Supports: Android, iOS, Tablet, Web Support(Mobile/Desktop).

Repository (GitHub)

Topics

#widget #panorama #image-360degree-viewer #panorama-viewer #web-support

Documentation

API reference

License

MIT (license)

Dependencies

dchs_motion_sensors, flutter, flutter_cube, flutter_web_plugins, get, plugin_platform_interface, web, webview_flutter, webview_flutter_platform_interface, webview_flutter_web

More

Packages that depend on panorama_viewer_plus