Added and removed: Disposal of scanner controller and removal of old scanning package
This commit is contained in:
parent
09e6511d64
commit
ab2eb77722
3 changed files with 7 additions and 9 deletions
|
@ -30,6 +30,13 @@ class _QrScannerState extends State<QrScanner> {
|
|||
detectionSpeed: DetectionSpeed.normal,
|
||||
facing: CameraFacing.back,
|
||||
);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
scannerController.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
|
|
|
@ -1135,14 +1135,6 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.1.0"
|
||||
qr_code_scanner:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: qr_code_scanner
|
||||
sha256: f23b68d893505a424f0bd2e324ebea71ed88465d572d26bb8d2e78a4749591fd
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
qr_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
|
@ -69,7 +69,6 @@ dependencies:
|
|||
pinput: ^1.2.2
|
||||
pointycastle: ^3.7.3
|
||||
protobuf: ^3.0.0
|
||||
qr_code_scanner: ^1.0.1
|
||||
qr_flutter: 4.0.0
|
||||
sentry: ^7.9.0
|
||||
sentry_flutter: ^7.9.0
|
||||
|
|
Loading…
Add table
Reference in a new issue