title: How to add a package in the android studio - flutter?
body: <p>I started fluttering a few days ago. I want to add &quot;font awesome&quot; to my project, but I can't. I searched but could not find the right answer. I finally got this guide, but it doesn't work either.</p>
  <blockquote>
  <p>Adding a package dependency to an app</p>
  </blockquote>
  <p>To add the package, css_colors, to an app:</p>
  <ol>
  <li>Depend on it</li>
  </ol>
  <p>Open the pubspec.yaml file located inside the app folder, and add css_colors: under dependencies.</p>
  <ol start="2">
  <li>Install it</li>
  </ol>
  <p>From the terminal: Run flutter pub get.
  OR
  From Android Studio/IntelliJ: Click Packages get in the action ribbon at the top of pubspec.yaml.</p>
  <ol start="3">
  <li>Import it</li>
  </ol>
  <p>Add a corresponding import statement in the Dart code.
  4. Stop and restart the app, if necessary</p>
  <p>If the package brings platform-specific code (Kotlin/Java for Android, Swift/Objective-C for iOS), that code must be built into your app. Hot reload and hot restart only update the Dart code, so a full restart of the app might be required to avoid errors like MissingPluginException when using the package.</p>