- Add camera, google_mlkit_text_recognition, image_picker, permission_handler deps
- Create ScannerScreen with live camera preview and OCR text recognition
- Auto-detect Hot Wheels IDs (e.g. JKF21) from captured photos using regex
- Add manual entry fallback dialog for typing HW ID by hand
- Update HomeScreen with scan FAB button and full DB query flow
- Query hotwheels table with .eq('hw_id', scannedCode).maybeSingle()
- Show 'Already in Collection' alert if car exists
- Show 'Add to Collection?' confirmation with insert if car is new
23 lines
842 B
C++
23 lines
842 B
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <app_links/app_links_plugin_c_api.h>
|
|
#include <file_selector_windows/file_selector_windows.h>
|
|
#include <permission_handler_windows/permission_handler_windows_plugin.h>
|
|
#include <url_launcher_windows/url_launcher_windows.h>
|
|
|
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
AppLinksPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("AppLinksPluginCApi"));
|
|
FileSelectorWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FileSelectorWindows"));
|
|
PermissionHandlerWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
|
|
UrlLauncherWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
|
|
}
|