ARView constructor
ARView({
- Key? key,
- required ARViewCreatedCallback onARViewCreated,
- PlaneDetectionConfig planeDetectionConfig = PlaneDetectionConfig.none,
- bool showPlatformType = false,
- String permissionPromptDescription = "Camera permission must be given to the app for AR functions to work",
- String permissionPromptButtonText = "Grant Permission",
- String permissionPromptParentalRestriction = "Camera permission is restriced by the OS, please check parental control settings",
Implementation
ARView(
{Key? key,
required this.onARViewCreated,
this.planeDetectionConfig = PlaneDetectionConfig.none,
this.showPlatformType = false,
this.permissionPromptDescription =
"Camera permission must be given to the app for AR functions to work",
this.permissionPromptButtonText = "Grant Permission",
this.permissionPromptParentalRestriction =
"Camera permission is restriced by the OS, please check parental control settings"})
: super(key: key);