Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web support #11

Open
gabrc52 opened this issue Aug 12, 2022 · 3 comments
Open

Web support #11

gabrc52 opened this issue Aug 12, 2022 · 3 comments

Comments

@gabrc52
Copy link

gabrc52 commented Aug 12, 2022

For web, JavaScript alert can be used.

@hatemragab
Copy link

any updates?

1 similar comment
@danielinooo95
Copy link

any updates?

@Zhoucheng133
Copy link

I think javascript alert can be used without this package:

import 'dart:html' as html;
html.window.alert('This is a browser alert.');

Tip: If you use it directly, it may have warning, you can add "avoid_web_libraries_in_flutter" in head

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants