cloudinary_public 该软件包可让您直接将媒体文件上传到 ,而无需暴露您的apiKey或secretKey。 入门 将依赖项cloudinary_public: ^0.8.0添加到您的项目:(将^0.7.0用于非null安全) import 'package:cloudinary_public/cloudinary_public.dart' ; final cloudinary = CloudinaryPublic ( 'CLOUD_NAME' , 'UPLOAD_PRESET' , cache : false ); 使用插件 var image = await ImagePicker.pickImage(source: ImageSource.camera); try { CloudinaryResponse response = await cloudinary