Kássio Oliveira 6d8b5b289f
Refactor ScanPage for better performance and memory management (#9464)
- Added null checks in `reassemble` method to avoid potential null pointer exceptions when pausing/resuming the camera.
- Refactored image picking and QR code decoding process to use async/await, avoiding UI blocking with synchronous file reads.
- Improved exception handling by making it more specific to QR code reading errors.
- Introduced `StreamSubscription` for the QR scan listener and ensured proper cancellation in `dispose` method to prevent memory leaks.
- Separated button building logic (`_buildImagePickerButton`, `_buildFlashToggleButton`, `_buildCameraSwitchButton`) to enhance code readability and maintainability.
2024-09-26 10:34:12 +08:00
..
2024-06-27 13:28:05 +08:00
2024-05-08 09:59:05 +08:00
2024-09-09 17:25:35 +08:00
2024-06-22 12:45:32 +08:00
2024-03-22 13:16:37 +08:00
2023-08-30 18:25:50 +08:00
2022-11-29 01:44:12 +08:00
2024-09-21 11:22:33 +08:00
2024-01-06 11:11:35 +08:00

flutter_hbb

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples and guidance on mobile development, and a full API reference.