211fafc7e1
- 移动端加图改用 image_picker,底部弹出「拍照 / 从相册选择」二选一; 桌面/Web 保持 file_picker 文件选择 - 用 defaultTargetPlatform 判断移动端,避免在参与 Web 编译的文件引入 dart:io - iOS:Info.plist 增加 NSCameraUsageDescription / NSPhotoLibraryUsageDescription - Android:拍照走系统相机、相册走 Photo Picker,均无需声明权限 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
42 lines
771 B
YAML
42 lines
771 B
YAML
name: jiu_client
|
|
description: 酒库管理系统 - 酒店仓库管理
|
|
publish_to: 'none'
|
|
version: 1.0.3+1
|
|
|
|
environment:
|
|
sdk: '>=3.0.0 <4.0.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
flutter_riverpod: ^2.5.1
|
|
go_router: ^14.0.0
|
|
dio: ^5.4.3+1
|
|
shared_preferences: ^2.3.0
|
|
intl: ^0.20.2
|
|
package_info_plus: ^8.0.0
|
|
url_launcher: ^6.3.0
|
|
lpinyin: ^2.0.3
|
|
excel: ^4.0.6
|
|
path_provider: ^2.1.0
|
|
file_picker: ^8.1.6
|
|
printing: ^5.13.0
|
|
pdf: ^3.10.8
|
|
web: ^1.1.0
|
|
image_picker: ^1.2.2
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^4.0.0
|
|
http_mock_adapter: ^0.6.1
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- assets/fonts/NotoSansSC-Regular.ttf
|
|
- assets/config/app_info.json
|