diff --git a/lib/src/three/three_canvasrenderer.dart b/lib/src/three/three_canvasrenderer.dart index ae5efcd..098dd08 100644 --- a/lib/src/three/three_canvasrenderer.dart +++ b/lib/src/three/three_canvasrenderer.dart @@ -4,7 +4,7 @@ library three.canvasrenderer; import "package:js/js.dart"; import "three_core.dart" show Camera, Color, Material, MaterialParameters, Plane, Renderer, Scene; -import "package:func/func.dart"; +import "package:func2/func.dart"; import "dart:html" show CanvasRenderingContext2D, CanvasElement; @anonymous diff --git a/lib/src/three/three_core.dart b/lib/src/three/three_core.dart index 04b5463..66b0a9d 100644 --- a/lib/src/three/three_core.dart +++ b/lib/src/three/three_core.dart @@ -15,7 +15,7 @@ import "dart:typed_data" Int32List, Uint32List, Float64List; -import "package:func/func.dart"; +import "package:func2/func.dart"; import "dart:html" show CanvasElement, ErrorEvent, ImageData, ImageElement, MimeType, ProgressEvent, VRDisplay, VideoElement; import "dart:web_audio" diff --git a/pubspec.yaml b/pubspec.yaml index 7fad64f..3bc3dea 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,12 +4,13 @@ description: Autogenerated dart js interop facade for the THREE WebGL javascript author: Nils Döhring homepage: https://github.com/blockforest/threejs-dart-facade environment: - sdk: '>=2.0.0-dev.55.0 <2.0.0' + sdk: ">=2.0.0-dev.55.0 <3.0.0" dependencies: - func: ^0.1.0 - js: ^0.6.0 + # func: ^0.1.0 + js: ^0.6.1+1 + func2: ^2.0.1 dev_dependencies: #-------- Dart 2.0.0-dev -------- - build_runner: ^0.8.9 - build_test: ^0.10.2 - build_web_compilers: ^0.4.0+3 + build_runner: ^1.7.4 + build_test: ^0.10.12+1 + build_web_compilers: ^2.9.0