thetaf library Null safety
Flutter library for RICOH THETA cameras requires use of the theta package
Classes
- DeleteAllFilesButton
-
label: 'new label',
example
label: 'DELETE EVERYTHING',
- DeleteAllImagesButton
- DeleteAllVideosButton
- DisablePowerOffButton
- DisableSleepDelayButton
- DisableVideoStitchingButton
- DownloadButton
- EnablePowerOffButton
- EnablePresetFaceButton
- EnablePresetLensbylensexposureButton
- EnablePresetNightviewButton
- EnablePresetRoomButton
- Only available for SC2B model.
- EnableSleepDelayButton
- EnableVideoStitchingButton
- ExposureProgramButton
- HideThumbButton
- InfoButton
- List5FilesButton
- List5VideosButton
- LivePreview
- Shows live preview motion jpeg from the RICOH THETA camera Live preview is a stream and is managed by a StreamController. You must pass the StreamController. See this video for instructions. https://youtu.be/GrexxLqt2ak See this code example https://github.com/codetricity/theta_preview_tutorial_2/blob/main/lib/main.dart
- ResetButton
- ResponseWindow
- Sc2GetOptionsButton
- SetAperture0Button
- SetAperture2dot1Button
- SetAperture3dot5Button
- SetAperture5dot6Button
- SetAuthenticationDigestButton
- SetAuthenticationNoneButton
- SetAutobracketNumbersButton
- Tells you how many brackets are set when setting bracketed shooting.
- SetBitrateImageAutoButton
- SetBitrateVideoFineButton
- SetBitrateVideoNormalButton
- SetBluetoothPowerOffButton
- Can set ON or OFF. Only available for models Z1, not SC2 or SC2B.
- SetBluetoothPowerOnButton
- Can set ON or OFF. Only available for models Z1, not SC2 or SC2B.
- SetExposureCompensation0Button
- label EV is Exposure Compensation. It works in automatic mode. This button sets EV to 0.
- SetExposureCompensation1Button
- SetExposureCompensation2Button
- SetExposureCompensationneg1Button
- SetExposureCompensationneg2Button
- SetFilterDrcompButton
- SetFilterHdrButton
- SetFilterHhhdrButton
- SetFilterNoiseReductionButton
- SetFilterOffButton
- SetModeImageButton
- SetModeVideoButton
- ShowThumbButton
- StartVideoCaptureButton
- StateButton
- StopVideoCaptureButton
- TakePictureButton
- ThetaSyntaxWindow
- shows a window with syntax highlighting and line numbering. It is an Expanded Widget. You can specify the space it takes up with flex. [...]
- ThetaWindow
- root window for all thetaf widgets all other widgets must be wrapped inside a ThetaWindow widget. import 'package:thetaf/thetaf.dart'; [...]
- ThumbWindow
- displays a list of thumbs in grid view with 2 thumbs across on the horizontal axis. Each thumbnail will try to take up 500px if space is available. It can display any number of thumbs that are saved in thumbData which is handled by the Provider package for state management.
- Z1GetOptionsButton
Functions
-
takePictureReady(
BuildContext context) → Future< void> - takes picture and then sets showThumbWindow to true after camera is ready. While the camera is processing the picture, shows the status as a string. The Z1 takes after 4 seconds to be ready for a picture. The SC2 make take more than 8 seconds. The delay is due to internal stitching times.
-
takePictureThumb(
BuildContext context) → Future< void> - use with ThumbWindow to take a picture and then display the thumbnails. ThumbWindow combines a ResponseWindow with a window that will display the thumbnails that are on the camera. This function will first wait for the current picture to be processed and then will get the last 5 thumbs, including the thumb for the picture you just took. It will display the status of the current image processing after the shutter is triggered as text messages, then pull the thumb bytes down from the camera and then send the list of 5 thumbs to ThumbWindow