UArScene constructor
const
UArScene({
- List<
UArPlaceable> items = const <UArPlaceable>[], - int initialItem = 0,
- UArController? controller,
- UArConfig config = const UArConfig(reticle: true),
- UArSceneOptions options = const UArSceneOptions(),
- List<
UArOverlay> overlays = const <UArOverlay>[], - UArLabels labels = const UArLabels(),
- UArStyle style = const UArStyle(),
- void onCreated(
- UArController controller
- void onPlaced(
- UArPlacedItem placed
- void onNodeTap(
- UArNodeHit hit,
- UArNode? node
- void onSurfaceTap(
- UArHitResult hit
- void onSnapshot(
- Uint8List image
- void onRecorded(
- UArRecording recording
- void onError(
- UArException error
- VoidCallback? onClose,
- Widget hintBuilder(
- BuildContext context,
- String hint
- Widget toolbarBuilder(
- BuildContext context,
- UArSceneState state
- Widget pickerBuilder(
- BuildContext context,
- UArSceneState state
- Widget overlayBuilder(
- BuildContext context,
- UArController controller
- Widget? placeholder,
- bool gate = true,
- Key? key,
Implementation
const UArScene({
this.items = const <UArPlaceable>[],
this.initialItem = 0,
this.controller,
this.config = const UArConfig(reticle: true),
this.options = const UArSceneOptions(),
this.overlays = const <UArOverlay>[],
this.labels = const UArLabels(),
this.style = const UArStyle(),
this.onCreated,
this.onPlaced,
this.onNodeTap,
this.onSurfaceTap,
this.onSnapshot,
this.onRecorded,
this.onError,
this.onClose,
this.hintBuilder,
this.toolbarBuilder,
this.pickerBuilder,
this.overlayBuilder,
this.placeholder,
this.gate = true,
super.key,
});