_This issue was originally filed by greg...@gmail.com_
The Window object in dart:html has no prompt() method.
http://stackoverflow.com/questions/20058426/how-to-make-window-prompt-in-dart/
http://api.dartlang.org/docs/channels/stable/latest/dart_html/Window.html
https://developer.mozilla.org/en-US/docs/Web/API/Window.prompt
This was removed with bug 1366 because the synchronous behavior of prompt was considered harmful and to discourage bad UX practices.
_Added AsDesigned label._
_This comment was originally written by greg.lo...@gmail.com_
Does the same argument apply to window.confirm()?
To be consistent this should also be removed.
http://api.dartlang.org/docs/channels/stable/latest/dart_html/Window.html#confirm
_This comment was originally written by dvo...@gmail.com_
That is a really good point greg.lowe. +1
_This comment was originally written by aleskv...@mailinator.com_
Finally I made a package with it. See https://pub.dartlang.org/packages/dialog for more details. P.S.: it is under development (not working yet)