通常,您必须添加以下内容:
dependencies:
camera: "^0.2.0"
to the pubspec.yaml file. What happens if I don't include the version number? It's a small thing, but usually, I find a piece of code and want to test it. At the top, I see something like >>
import 'package:camera/camera.dart';
我需要go 包的主页才能找到版本号吗?