Quicker development with packages

How To Install Packages In Your Flutter App

This short article shows how to install packages in your Flutter app so that you can use existing code and you don’t have to write everything yourself.

xeladu
3 min readFeb 25, 2022

--

With packages, the development of apps can be accelerated and simplified by a lot. We have a look at how to find packages, how to add them to our app, and how we can use them in the code. For demonstration purposes, I am going to use the package url_launcher in this example. Here is how to install packages in your Flutter app.

Find packages

Most Flutter and Dart packages are hosted in the official package repository on pub.dev. You can use it to get detailed information about a package, a usage example, and installing guidelines.

A collection of famous and good packages is Flutter Awesome. If you need inspiration on what packages are out there, check out this website.

--

--

xeladu
xeladu

Written by xeladu

Flutter and Firebase expert, blogger on QuickCoder.org, find my ebooks and freebies on shop.quickcoder.org, contact me on me.quickcoder.org!