context) {
///添加线条
return Container(
width: MediaQuery.of(context).size.width,
height: 0.6,
color: Color...context, var diaDataItem, bgColor, fontColor, fontSize,
height, borderRadius) {
return Container(
width: MediaQuery.of.../
pubspec.yaml 添加依赖
Android 清单文件需要配置相机、相册、网络权限
IOS 需要在Xcode工具里面添加相机、相册权限说明 或 在info.list 里面进行配置...img = await ImagePicker().pickImage(
source: source,
maxWidth: MediaQuery.of(context).size.width,
maxHeight...: MediaQuery.of(context).size.height);
if (img !