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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user