I'm doing Codelabs Write your first Flutter app. Step 4 is about using external packages. Is it possible to import external packages into DartPad? I see tabs in the lower left for "Console" and "Documentation" but there's nothing in these panes. Is the console a future feature of DartPad? Is there another way to import external packages?
How to import a package into DartPad?
774 views Asked by Thomas David Kehoe At
1
For all packages that are listed under
(The dialog you see in the screenshot opens by clicking on the info icon on the bottom right corner)
you can simply import them by adding the respective import statement to the top of your DartPad code. Here's an example for
GoogleFonts: