In this video, Emmanuel Henri demonstrates how to add a package into the application and then adds the code to update the icons.
- [Instructor] So now that you understand what packages are,…how do you go about using one?…Let's go ahead and add a package…into our project and use it.…So first thing we'll do, we'll go back to the actual link…that we've explored in the past video.…And just take a look at what we have for fontawesome.…And the one that I'm looking for is font_awesome_flutter.…So if we click on this one,…we can take a look at what the syntax looks like.…So the only thing that we are gonna need to do…is import the package here.…
And then use FontAwesomeIcons in the icon widget here.…So the first thing we need to do is install it.…So let's take a look at installing.…And this is how we install it…so let's go ahead and copy that here.…And the way to install packages,…you install them in the pubspec.yaml file.…So if you click on that file here,…you should have some dependencies…and dev_dependencies already installed.…So what we're gonna do is install it in the dev_dependencies…so all you have to do is put them…after the cupertino_icons like so.…
- Programming with Dart
- Setting up the Flutter SDK
- Setting up app simulators
- Using Flutter for iOS
- Using Flutter for Android
- Using widgets and material components
- Adding interactivity, routing, and navigation
- Reading and writing with Dart IO
- Creating HTTP requests
Skill Level Beginner
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
1. Introduction and Setup
2. UI Building
3. Use Device and SDK APIs
4. Build and Release
Resources to release to iOS1m 54s
Next steps1m 5s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.