title: Flutter, how to use a private GitHub repository as a package in pubspec.yaml file?
body: <p>Will I have access to the private repository as written below? like for public repo</p>
  <pre><code>  flutter_component:
      git:
        url: https://github.com/lordyhas/flutter_component
  </code></pre>
  <p>or I have to do otherwise</p>