Ricoh theta integration with Flutter

Adding panorama_viewer

flutter pub add panorama_viewer

live preview

screen_capture_vysor-ezgif.com-gif-to-webp-converter

                  : PanoramaViewer(
                      child: Image.memory(
                        frameData,
                        errorBuilder: (a, b, c) {
                          return Container(
                            color: Colors.black,
                          );
                        },
                        gaplessPlayback: true,
                      ),
                    ),

image

  body: Container(
            alignment: Alignment.center,
            child: PanoramaViewer(child: Image.network(
              fileUrl,
              loadingBuilder: (context, child, loadingProgress) {
                if (loadingProgress == null) return child;
                return const Text('loading...');
              },
              errorBuilder: (a, b, c) {
                return Container(
                  color: Colors.white,
                );
              },

image_360_view

Development Environment

flutter, Android SDK, Android Studio, OS

[craig@archmini ~]$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on Arch Linux 6.10.2-arch1-1, locale C.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.1)
[✓] Connected device (3 available)
[✓] Network resources                

• No issues found!
[craig@archmini ~]$ 

Using theta-client version 1.10.0

This last test done with Arch Linux on the desktop.

Previous two tests were down on MacOS (two different computers).

No problems on the three computers we tested.

Suggest you reinstall Android Studio and the Android SDK and use the version of Java from Android Studio. If problem persists, show the output of flutter doctor -v