所有flutter插件的地址库 https://pub.dev/
pubspec.yaml里添加依赖包
dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 english_words: ^3.1.0
然后终端执行
flutter pub get
参考 https://blog.csdn.net/weixin_42473228/article/details/123656843