Embedding dartpad, an online editor for Dart lang.
Width and Height:
We should able to set width and height of the dart-pad code editor
A user should we able to use all the controls provided like:
Here's an example from wiki
<iframe style="width:400px;height:400px;" src="https://dartpad.dev/embed-inline.html?id=5d70bc1889d055c7a18d35d77874af88&split=80&theme=dark"></iframe>
Below is an example of how it looks when embedded.
Like codepen, dartpad is also a online code editor.
A solution for embedding dartpad would be great.
I have an article in which I'm using Dart lang. Embedding dartpad would be best way to enhance the article.
The reader can run the code here itself without leaving the website, rather than copy-pasting it in some editor and then running it.
Let me know if you need any elaboration.