feat: Add receipt import functionality with file upload and parsing
- Implemented receipt file upload in ImportRepository with multipart request handling. - Created ParsedReceiptItem model for parsed receipt data. - Added ReceiptImportTab for user interface to upload and review receipts. - Updated ImportScreen to include the new ReceiptImportTab alongside RecipeImportTab. - Introduced flutter_bootstrap.js and index.html for web app initialization. - Added wimp.wasm and flutter.js for enhanced web performance and capabilities.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// @dart=3.3
|
||||
// Flutter web bootstrap script for package:recipe_flutter/main.dart.
|
||||
//
|
||||
// Generated file. Do not edit.
|
||||
//
|
||||
|
||||
// ignore_for_file: type=lint
|
||||
|
||||
import 'dart:ui_web' as ui_web;
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:recipe_flutter/main.dart' as entrypoint;
|
||||
import 'web_plugin_registrant.dart' as pluginRegistrant;
|
||||
|
||||
typedef _UnaryFunction = dynamic Function(List<String> args);
|
||||
typedef _NullaryFunction = dynamic Function();
|
||||
|
||||
Future<void> main() async {
|
||||
await ui_web.bootstrapEngine(
|
||||
runApp: () {
|
||||
if (entrypoint.main is _UnaryFunction) {
|
||||
return (entrypoint.main as _UnaryFunction)(<String>[]);
|
||||
}
|
||||
return (entrypoint.main as _NullaryFunction)();
|
||||
},
|
||||
registerPlugins: () {
|
||||
pluginRegistrant.registerPlugins();
|
||||
},
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user