1. Open pubspec.yaml file inside your project folder. 2. Run command : flutter pub get - to install your flutter package from the command line. Save the pubspec.yaml file and run flutter pub get command in terminal. 3. Example : import package:device_info/device_info.dart;
確定! 回上一頁