PermissionDialogConfig class

Configuration for the camera permission dialog.

This dialog appears when camera permission is permanently denied, offering users the option to navigate to settings.

Constructors

PermissionDialogConfig({String title = 'Camera Permission Required', String message = 'Camera permission is required for liveness check. Please enable it in settings.', String cancelButtonText = 'Cancel', String settingsButtonText = 'Open Settings'})
Creates a permission dialog configuration.
const

Properties

cancelButtonText String
Text for the cancel button.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Message explaining why permission is needed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settingsButtonText String
Text for the settings button.
final
title String
Title of the permission dialog.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited