PluginScannerQrPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- PluginScannerQrPlatform
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onBarcodeScanned
→ Stream<
QrScanResult> -
Stream de resultados do modo contínuo.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
isCameraAvailable(
) → Future< bool> - Verifica se o dispositivo possui câmera.
-
isFrontCameraAvailable(
) → Future< bool> - Verifica se a câmera frontal está disponível.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseScanning(
) → Future< void> - Pausa temporariamente a detecção sem fechar a câmera.
-
requestCameraPermission(
) → Future< bool> - Solicita permissão de câmera ao usuário.
-
resumeScanning(
) → Future< void> - Retoma a detecção após uma pausa.
-
scanQRCode(
) → Future< String?> - Inicia o scanner de QR code (modo único — fecha ao ler).
-
scanQRCodeWithOptions(
{bool useFrontCamera = false, String orientation = 'portrait', bool enableTorch = false, bool enableAutoFocus = true, double zoomLevel = 0.0, bool enableZoom = true, double brightness = 0.5, double contrast = 0.5, double exposureCompensation = 0.0}) → Future< String?> - Inicia o scanner de QR code com configurações personalizadas (modo único).
-
startContinuousScan(
ContinuousScanOptions options) → Future< void> -
Abre o scanner em modo contínuo com as
optionsfornecidas. -
stopContinuousScan(
) → Future< void> - Encerra o scanner contínuo e fecha a câmera.
-
switchCamera(
) → Future< void> - Alterna entre câmera frontal e traseira durante uma sessão contínua.
-
toggleFlash(
) → Future< void> - Liga ou desliga a lanterna durante uma sessão contínua.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ PluginScannerQrPlatform
-
getter/setter pair