Downloading Packages

Learn how to install different Flutter and third-party packages into our project.

We'll cover the following

Although Flutter is offered by Google, it’s open source, and the community is allowed to build packages that allow other Flutter developers use it.

In this lesson, you’ll install a package in Flutter and use it.

Pub.dev

You’ll need to visit the pub.dev site to search for and install any package. This is where the Flutter team manages all the official packages released as well as those released by various communities. Today you’ll install the google_fonts package, which will provide you with beautiful fonts for your Text widgets.

Follow the pub.dev installation guide. You’ll be doing the same thing in the code snippet below:

Get hands-on with 1200+ tech skills courses.