mirror of https://github.com/flutter/samples.git
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.1pull/2149/head
parent
7dcea5e114
commit
81512c626d
@ -1,7 +1,8 @@
|
|||||||
/// Exposes useful functions to interop with JS from our Flutter app.
|
/// 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/counter_state_manager.dart';
|
||||||
export 'js_interop/helper.dart' show broadcastAppEvent;
|
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;
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue