So installieren Sie Pakete von Github in Flattern

dependencies:
  flutter:
    sdk: flutter

  package_name:
    git:
      url: git://github.com/user/package_name.git
      ref: main # branch name
mathiasgodwin