Skip to content

[WEB] 'dart:js_interop' is not available on this platform. #1824

@Nicola-Cestaro

Description

@Nicola-Cestaro

Error (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_stripe_web-6.0.0-dev.0/lib/src/widgets/card_field.dart:2:8: Error: Dart library 'dart:js_interop' is not available on this platform.

When I try to build for mobile after importing the flutter_stripe_web library I get the interlop error. how can import the library but also build for mobile>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions