{"id":3932,"date":"2022-06-01T07:09:28","date_gmt":"2022-06-01T07:09:28","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=3932"},"modified":"2022-06-01T07:09:28","modified_gmt":"2022-06-01T07:09:28","slug":"online-dart-editor","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/06\/01\/online-dart-editor\/","title":{"rendered":"Online Dart Editor"},"content":{"rendered":"\n<p>We have discussed Dark installation on the various operating systems so far, but if we do not want to install Dart then there is an online Dark editor (Known as DartPad) is available to run the Dark programs. The online DartPad is provided at\u00a0https:\/\/dartpad.dev\/. The DartPad offers to execute the dart scripts and display\u00a0HTML\u00a0and also console output. The online DartPad looks like the below image.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/dart\/images\/dart-installation7.png\" alt=\"Dart Installation\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Dart IED Support<\/h2>\n\n\n\n<p>The Eclipse,\u00a0IntelliJ, and WebStorm are the IDEs from the Jet brains that support the Dart Programming, but WebStorm is more popular than others. We can download it from\u00a0https:\/\/www.jetbrains.com\/webstorm\/download\/#section=windows-version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The dart2js Tool<\/h2>\n\n\n\n<p>The Dark SDK comes with the dart2js tool, which transmits the Dart code into runnable\u00a0JavaScript\u00a0code. It is necessary because few web browsers do not support the Dart VM.<\/p>\n\n\n\n<p>Use the following command in the terminal to compile the Dart code into JavaScript code.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.javatpoint.com\/dart-installation#\"><\/a><a href=\"https:\/\/www.javatpoint.com\/dart-installation#\"><\/a><a href=\"https:\/\/www.javatpoint.com\/dart-installation#\"><\/a><\/p>\n\n\n\n<ol><li>dart2js&nbsp;&#8211;&nbsp;&#8211;&nbsp;out&nbsp;=&nbsp;&lt;output_file&gt;.js&nbsp;&nbsp;&lt;dart_script&gt;.dart&nbsp;&nbsp;<\/li><\/ol>\n\n\n\n<p>The above command will create a file that contains the JavaScript code corresponding to the Dart code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have discussed Dark installation on the various operating systems so far, but if we do not want to install Dart then there is an online Dark editor (Known as DartPad) is available to run the Dark programs. The online DartPad is provided at\u00a0https:\/\/dartpad.dev\/. The DartPad offers to execute the dart scripts and display\u00a0HTML\u00a0and also [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[797],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/3932"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=3932"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/3932\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=3932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=3932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=3932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}