Great library! Thank you for your work!
Today I tried with booth latest flutter stable and latest beta channel but I got same result with a single line of code in a flutter project (latest android studio, win10): await window.navigator.mediaDevices.getUserMedia().future;
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:201:7: Error: The superclass, 'Element', has no unnamed constructor that takes no arguments.
class HTMLElement // Node -> {web_animations_1: {Animatable, ARIAMixin, GeometryUtils, Region, ParentNode, NonDocumentTypeChildNode, ChildNode, Slottable, InnerHTML}, wai_aria_1_2: {ARIAMixin}, cssom_view_1: {GeometryUtils}, css_regions_1: {Region}, dom: {ParentNode, NonDocumentTypeChildNode, ChildNode, Slottable}, d_o_m_parsing: {InnerHTML}} -> Element
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:412:7: Error: The superclass, 'HTMLElement', has no unnamed constructor that takes no arguments.
class HTMLLinkElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable, HTMLOrSVGElement, ElementCSSInlineStyle}, cssom_1: {ElementCSSInlineStyle}} -> HTMLElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:518:7: Error: The superclass, 'HTMLElement', has no unnamed constructor that takes no arguments.
class HTMLStyleElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable, HTMLOrSVGElement, ElementCSSInlineStyle}, cssom_1: {ElementCSSInlineStyle}} -> HTMLElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:538:7: Error: The superclass, 'HTMLElement', has no unnamed constructor that takes no arguments.
class HTMLBodyElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable, HTMLOrSVGElement, ElementCSSInlineStyle}, cssom_1: {ElementCSSInlineStyle}} -> HTMLElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:780:7: Error: The superclass, 'HTMLElement', has no unnamed constructor that takes no arguments.
class HTMLAnchorElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable, HTMLOrSVGElement, ElementCSSInlineStyle}, cssom_1: {ElementCSSInlineStyle}} -> HTMLElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:2430:7: Error: The superclass, 'HTMLElement', has no unnamed constructor that takes no arguments.
class HTMLAreaElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable, HTMLOrSVGElement, ElementCSSInlineStyle}, cssom_1: {ElementCSSInlineStyle}} -> HTMLElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:7805:7: Error: The superclass, 'WorkerGlobalScope', has no unnamed constructor that takes no arguments.
class DedicatedWorkerGlobalScope // EventTarget -> {css_font_loading_3: {FontFaceSource, WindowOrWorkerGlobalScope}, html: {WindowOrWorkerGlobalScope}} -> WorkerGlobalScope
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/html.dart:8386:7: Error: The superclass, 'HTMLElement', has no unnamed constructor that takes no arguments.
class HTMLFrameSetElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable, HTMLOrSVGElement, ElementCSSInlineStyle}, cssom_1: {ElementCSSInlineStyle}} -> HTMLElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:1233:7: Error: The superclass, 'Node', has no unnamed constructor that takes no arguments.
class Document // EventTarget -> {} -> Node
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:1972:7: Error: The superclass, 'Node', has no unnamed constructor that takes no arguments.
class DocumentType // EventTarget -> {} -> Node
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:2001:7: Error: The superclass, 'Node', has no unnamed constructor that takes no arguments.
class DocumentFragment // EventTarget -> {} -> Node
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:2016:7: Error: The superclass, 'DocumentFragment', has no unnamed constructor that takes no arguments.
class ShadowRoot // Node -> {dom: {NonElementParentNode, ParentNode}} -> DocumentFragment
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:2060:7: Error: The superclass, 'Node', has no unnamed constructor that takes no arguments.
class Element // EventTarget -> {} -> Node
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:2719:7: Error: The superclass, 'Node', has no unnamed constructor that takes no arguments.
class CharacterData // EventTarget -> {} -> Node
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:2785:7: Error: The superclass, 'CharacterData', has no unnamed constructor that takes no arguments.
class Text // Node -> {dom: {NonDocumentTypeChildNode, ChildNode}} -> CharacterData
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/dom.dart:2848:7: Error: The superclass, 'CharacterData', has no unnamed constructor that takes no arguments.
class ProcessingInstruction // Node -> {dom: {NonDocumentTypeChildNode, ChildNode}} -> CharacterData
^
...
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/deprecation_reporting.dart:27:7: Error: JS interop class 'DeprecationReportBody' cannot extend Dart class 'Object with ReportBody'.
Try removing the JS interop annotation or adding it to the parent class.
class DeprecationReportBody // null -> {} -> ReportBody
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/element_timing.dart:23:7: Error: JS interop class 'PerformanceElementTiming' cannot extend Dart class 'Object with PerformanceEntry'.
Try removing the JS interop annotation or adding it to the parent class.
class PerformanceElementTiming // null -> {} -> PerformanceEntry
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/web_nfc.dart:110:7: Error: JS interop class 'NDEFReader' cannot extend Dart class 'Object with EventTarget'.
Try removing the JS interop annotation or adding it to the parent class.
class NDEFReader // null -> {} -> EventTarget
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/web_nfc.dart:156:7: Error: JS interop class 'NDEFReadingEvent' cannot extend Dart class 'Object with Event'.
Try removing the JS interop annotation or adding it to the parent class.
class NDEFReadingEvent // null -> {} -> Event
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/web_nfc.dart:173:7: Error: JS interop class 'NDEFReadingEventInit' cannot extend Dart class 'Object with EventInit'.
Try removing the JS interop annotation or adding it to the parent class.
class NDEFReadingEventInit // null -> {} -> EventInit
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/webrtc_stats.dart:15:6: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
enum RTCStatsType {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/webrtc_stats.dart:15:6: Error: This JS interop member must be annotated with `external`. Only factories and static methods can be non-external.
Try annotating the member with `external`.
enum RTCStatsType {
^
...
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/svg11.dart:1317:7: Error: Dart class 'SVGElement with SVGFitToViewBox' cannot extend JS interop class 'SVGElement'.
Try adding the JS interop annotation or removing it from the parent class.
class SVGMarkerElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, HTMLOrSVGElement, SVGElementInstance}, svg11: {SVGElementInstance}} -> SVGElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/svg11.dart:1317:7: Error: JS interop class 'SVGMarkerElement' cannot extend Dart class 'SVGElement with SVGFitToViewBox'.
Try removing the JS interop annotation or adding it to the parent class.
class SVGMarkerElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, HTMLOrSVGElement, SVGElementInstance}, svg11: {SVGElementInstance}} -> SVGElement
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/svg11.dart:1400:7: Error: Dart class 'SVGElement with SVGURIReference' cannot extend JS interop class 'SVGElement'.
Try adding the JS interop annotation or removing it from the parent class.
class SVGGradientElement // Element -> {html: {GlobalEventHandlers, DocumentAndElementEventHandlers, HTMLOrSVGElement, SVGElementInstance}, svg11: {SVGElementInstance}} -> SVGElement
^
...
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/webxr_ar_module_1.dart:23:6: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
enum XREnvironmentBlendMode {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/webxr_ar_module_1.dart:23:6: Error: This JS interop member must be annotated with `external`. Only factories and static methods can be non-external.
Try annotating the member with `external`.
enum XREnvironmentBlendMode {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/webxr_ar_module_1.dart:31:6: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
enum XRInteractionMode {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/webxr_ar_module_1.dart:31:6: Error: This JS interop member must be annotated with `external`. Only factories and static methods can be non-external.
Try annotating the member with `external`.
enum XRInteractionMode {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/content_index.dart:16:6: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
enum ContentCategory {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/content_index.dart:16:6: Error: This JS interop member must be annotated with `external`. Only factories and static methods can be non-external.
Try annotating the member with `external`.
enum ContentCategory {
^
/D:/.../pub_cache/hosted/pub.dartlang.org/js_bindings-0.0.3/lib/bindings/resource_timing_2.dart:36:7: Error: JS interop class 'PerformanceResourceTiming' cannot extend Dart class 'Object with PerformanceEntry'.
Try removing the JS interop annotation or adding it to the parent class.
class PerformanceResourceTiming // null -> {} -> PerformanceEntry
^
Failed to compile application.