Start using a package by adding an import statement for it at the top of the code editor . For example, to use the Google Fonts package, add this: import ‘package:google_fonts/google_fonts.
Read moreWhat is Dart pad?
DartPad is an open source tool that lets you play with the Dart language in any modern browser . Many pages in this site — especially codelabs — have embedded DartPads. To open DartPad as a standalone web page, visit the DartPad site (dartpad. dev).
Read moreHow do you use the Dart pad in Flutter?
To create a new Flutter project, click the New Pad button and choose Flutter . This adds some starter code to the editor and runs it. Any time that DartPad sees that you’re using package:flutter , a panel comes up to display the UI. Or use the Samples menu to find a Flutter sample.4 Ara 2019
Read more