ARMODWidget class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ARMODWidget
Constructors
-
ARMODWidget({Key? key, required ARMODCreatedCallback onARMODCreated, DeviceNotSupportCallback? onDeviceNotSupport, AddLoadingOverlayCallback? onAddLoadingOverlay, RemoveLoadingOverlayCallback? onRemoveLoadingOverlay, UpdateLoadingProgressCallback? onUpdateLoadingProgress, ThrowExceptionCallback? onThrowException, NeedInstallARCoreServiceCallback? onNeedInstallARCoreService, SdkInitializedCallback? onSdkInitialized, OpenBuiltInBrowserCallback? onOpenBuiltInBrowser, RecognitionCompleteCallback? onRecognitionComplete, TryAcquireInformationCallback? onTryAcquireInformation, PackageSizeMoreThanPresetSizeCallback? onPackageSizeMoreThanPresetSize, ARMODLaunchCallback? onARMODLaunch, ARMODExitCallback? onARMODExit, bool fullscreen = false, bool enablePlaceholder = false, Set<
Factory< ? gestureRecognizers, Widget? placeholder, bool useAndroidView = false, RecognitionStartCallback? onRecognitionStart})OneSequenceGestureRecognizer> >
Properties
- enablePlaceholder → bool
-
This flag enables placeholder widget
final
- fullscreen → bool
-
Set to true to force armod to fullscreen
final
-
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onAddLoadingOverlay → AddLoadingOverlayCallback?
-
Start loading AR experience
final
- onARMODCreated → ARMODCreatedCallback
-
Event fires when the armod player is created.
final
- onARMODExit → ARMODExitCallback?
-
AR-MOD SDK Exited
final
- onARMODLaunch → ARMODLaunchCallback?
-
AR-MOD SDK Start
final
- onDeviceNotSupport → DeviceNotSupportCallback?
-
Current device is not support ARMOD
final
- onNeedInstallARCoreService → NeedInstallARCoreServiceCallback?
-
Android Only
When your device supports ARCore but you are installing the ARCore service, this method will be executed, prompting the user to install the ARCore service.final - onOpenBuiltInBrowser → OpenBuiltInBrowserCallback?
-
Open the url in builtin browser from AR experience
final
- onPackageSizeMoreThanPresetSize → PackageSizeMoreThanPresetSizeCallback?
-
Detected that the AR experience package is too large
final
- onRecognitionComplete → RecognitionCompleteCallback?
-
Finished image recognition
WIP
final - onRecognitionStart → RecognitionStartCallback?
-
Start image recognition
WIP
final - onRemoveLoadingOverlay → RemoveLoadingOverlayCallback?
-
final
- onSdkInitialized → SdkInitializedCallback?
-
After the AR algorithm is initialized, the method will be executed
final
- onThrowException → ThrowExceptionCallback?
-
The method will be executed if an exception occurs
message
error messageerrorCode
the error idfinal - onTryAcquireInformation → TryAcquireInformationCallback?
-
Get any information from app to AR experiences
final
- onUpdateLoadingProgress → UpdateLoadingProgressCallback?
-
Loading AR experience asset progress
progress
loading progress value(0.0~1.0).final - placeholder → Widget?
-
This is just a helper to render a placeholder widget
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useAndroidView → bool
-
This flag allows you use AndroidView instead of PlatformViewLink for android
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _ARMODWidgetState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited