配置文件
- pubspec.yaml
dependencies:
flutter:
sdk: flutter
english_words: ^4.0.0
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
path_provider: ^2.0.2
dio: ^5.3.3
命令行
flutter packages dio