1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-26 14:22:03 +00:00

Update Angular embedding sample (#2147)

- Replace `package:js` usage with `dart:js_interop`
- Remove and ignore `package-lock.json` since it keeps causing security
warnings: https://github.com/flutter/samples/security/dependabot. It's
not necessary for this sample and the constraints already present in the
`package.json`.
- Update to Angular 17.1
This commit is contained in:
Parker Lougheed
2024-01-24 15:53:52 -06:00
committed by GitHub
parent 7dcea5e114
commit 81512c626d
7 changed files with 25 additions and 13791 deletions

View File

@@ -1,7 +1,8 @@
/// Exposes useful functions to interop with JS from our Flutter app.
library example_js_interop;
library;
export 'js_interop/counter_state_manager.dart';
export 'js_interop/helper.dart' show broadcastAppEvent;
export 'package:js/js_util.dart' show createDartExport;
// Replace with createJSInteropWrapper when updating to Dart 3.3.
export 'dart:js_util' show createDartExport;