ARView constructor

ARView({
  1. Key? key,
  2. required ARViewCreatedCallback onARViewCreated,
  3. PlaneDetectionConfig planeDetectionConfig = PlaneDetectionConfig.none,
  4. bool showPlatformType = false,
  5. String permissionPromptDescription = "Camera permission must be given to the app for AR functions to work",
  6. String permissionPromptButtonText = "Grant Permission",
  7. 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);