name: Chat description: "A new Flutter project." # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 # followed by an optional build number separated by a +. # Both the version and the builder number may be overridden in flutter # build by specifying --build-name and --build-number, respectively. # In Android, build-name is used as versionName while build-number used as versionCode. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. version: 1.0.0+1 environment: sdk: '>=3.4.1 <4.0.0' # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions # consider running `flutter pub upgrade --major-versions`. Alternatively, # dependencies can be manually updated by changing the version numbers below to # the latest version available on pub.dev. To see which dependencies have newer # versions available, run `flutter pub outdated`. dependencies: flutter: sdk: flutter dio: ^5.4.3+1 cupertino_icons: ^1.0.6 flutter_easyloading: ^3.0.5 crypto: ^3.0.3 shared_preferences: ^2.0.7 json_annotation: ^4.9.0 cached_network_image: ^3.2.3 image_cropper: ^7.0.5 # image_cropper_for_web: ^5.0.4 flutter_native_image: ^0.0.6 photo_view: ^0.14.0 image_picker: ^0.8.4 permission_handler: ^10.4.5 image_gallery_saver: ^2.0.3 web_socket_channel: ^3.0.0 flutter_client_sse: any audioplayers: ^6.0.0 speech_to_text: ^6.6.2 cloud_text_to_speech: ^2.3.2 sigv4: ^5.0.1-nullsafety.1 # 使用兼容的版本 dependency_overrides: dio: ^5.4.3+1 http: ^1.0.0 # 强制使用最新版本 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^3.0.0 build_runner: ^2.4.11 json_serializable: ^6.8.0 flutter: uses-material-design: true assets: - assets/ - assets/images/