name: electronic_assistant 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.5+1 environment: sdk: '>=3.4.3 <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 # 状态管理 get: ^4.6.6 # 网络请求 dio: ^5.6.0 retrofit: '>=4.0.0 <5.0.0' pretty_dio_logger: ^1.4.0 json_annotation: ^4.8.1 # 包信息 package_info_plus: ^8.0.2 # 屏幕适配 flutter_screenutil: ^5.9.3 # dialog flutter_smart_dialog: ^4.9.8 #tencent mmkv mmkv: ^1.3.9 #上、下拉刷新 pull_to_refresh: ^2.0.0 #lottie lottie: ^3.1.2 #解压 archive: ^3.6.1 #录音 flutter_sound: ^9.16.3 #权限申请 permission_handler: ^11.3.1 #uuid uuid: ^4.5.0 #网络连接类型 connectivity_plus: ^6.0.5 #音频播放 just_audio: ^0.9.40 #markdown markdown: ^7.2.2 #html flutter_widget_from_html: ^0.15.2 #前台任务 flutter_foreground_task: ^8.8.1+1 #获取设备信息 device_info_plus: ^10.1.2 android_id: ^0.4.0 # 隐私追踪 app_tracking_transparency: ^2.0.5 #文件选择 file_picker: ^8.1.2 #引力引擎插件 gravity_engine: path: plugin/gravity_engine #渠道包信息读取插件 atmob_channel_reader: path: plugin/atmob_channel_reader #支付 alipay_kit: ^6.0.0 wechat_kit: ^6.0.1 in_app_purchase: ^3.2.0 #并发 synchronized: ^3.3.0+2 #屏幕常亮 wakelock_plus: ^1.2.8 #获取音频资源列表 photo_manager: ^3.4.0 #快捷启动 app_links: ^6.3.2 #跳转浏览器 url_launcher: ^6.3.1 #系统分享 share_plus: ^10.0.3 #快捷方式 shortcut: path: plugin/shortcut #系统分享 system_share: path: plugin/system_share #友盟 flutter_umeng: path: plugin/flutter_umeng #自定义通知 custom_notification: path: plugin/custom_notification #notification flutter_local_notifications: ^17.2.3 #web通信 dsbridge_flutter: ^1.1.0 dev_dependencies: flutter_test: sdk: flutter # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^3.0.0 retrofit_generator: '>=7.0.0 <8.0.0' build_runner: '>=2.3.0 <4.0.0' json_serializable: ^6.6.2 flutter_gen_runner: flutter_launcher_icons: "^0.13.1" #启动图标配置 #----------启动图标配置--------------- flutter_launcher_icons: image_path_android: "assets/images/logo/logo.png" image_path_ios: "assets/images/logo/logo_ios.png" android: true ios: true min_sdk_android: 21 remove_alpha_ios: true #----------gen配置--------------- flutter_gen: output: lib/resource/ colors: inputs: - assets/color/common_color.xml - assets/color/color.xml # The following section is specific to Flutter packages. flutter: # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true assets: - assets/images/ - assets/anim/ - assets/html/ # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware # For details regarding adding assets from package dependencies, see # https://flutter.dev/assets-and-images/#from-packages # To add custom fonts to your application, add a fonts section here, # in this "flutter" section. Each entry in this list should have a # "family" key with the font family name, and a "fonts" key with a # list giving the asset and other descriptors for the font. For # example: # fonts: # - family: Schyler # fonts: # - asset: fonts/Schyler-Regular.ttf # - asset: fonts/Schyler-Italic.ttf # style: italic # - family: Trajan Pro # fonts: # - asset: fonts/TrajanPro.ttf # - asset: fonts/TrajanPro_Bold.ttf # weight: 700 # # For details regarding fonts from package dependencies, # see https://flutter.dev/custom-fonts/#from-packages wechat_kit: ios: no_pay # 默认 pay app_id: wxff40112d61011372 universal_link: https://flutter.dev