name: durianqueen_app
description: 榴莲皇后移动应用
publish_to: 'none'
version: 2.0.0+357

environment:
  sdk: ^3.10.1

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  # 状态管理
  flutter_riverpod: ^2.5.1
  riverpod_annotation: ^2.3.5

  # 路由
  go_router: ^14.2.0

  # 网络
  dio: ^5.4.3+1
  connectivity_plus: ^6.0.3

  # 本地存储
  shared_preferences: ^2.2.3
  flutter_secure_storage: ^9.0.0
  hive: ^2.2.3
  hive_flutter: ^1.1.0

  # UI组件
  flutter_svg: ^2.0.10+1
  cached_network_image: ^3.3.1
  shimmer: ^3.0.0
  visibility_detector: ^0.4.0+2
  lottie: ^3.1.0
  qr_flutter: ^4.1.0
  mobile_scanner: ^5.1.1
  flutter_screenutil: ^5.9.0
  city_pickers: ^1.3.0

  # 工具
  intl: ^0.20.2
  logger: ^2.2.0
  equatable: ^2.0.5
  dartz: ^0.10.1
  uuid: ^4.3.3
  image_picker: ^1.0.7
  permission_handler: ^11.3.1
  url_launcher: ^6.2.6
  share_plus: ^7.2.2

  # 生物识别
  local_auth: ^2.2.0

  # APK升级
  package_info_plus: ^8.0.0
  in_app_update: ^4.2.2
  path_provider: ^2.1.0
  crypto: ^3.0.3

  # 设备信息收集与遥测
  device_info_plus: ^11.0.0
  geolocator: ^13.0.2
  sqflite: ^2.3.0

  # 崩溃收集与错误追踪
  sentry_flutter: ^8.10.1

  # PDF 查看
  flutter_pdfview: ^1.3.2

  cupertino_icons: ^1.0.8

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0

  # 代码生成
  build_runner: ^2.4.9
  riverpod_generator: ^2.4.0
  freezed: ^2.5.2
  freezed_annotation: ^2.4.1
  json_serializable: ^6.7.1
  hive_generator: ^2.0.1

  # 测试
  mocktail: ^1.0.3

  # 应用图标生成
  flutter_launcher_icons: ^0.14.3

flutter_launcher_icons:
  android: true
  ios: true
  image_path: "assets/images/logo/app_icon.png"
  adaptive_icon_background: "#FFFFFF"
  adaptive_icon_foreground: "assets/images/logo/app_icon.png"

flutter:
  uses-material-design: true

  assets:
    - assets/images/
    - assets/images/logo/
    - assets/images/backgrounds/
    - assets/images/avatars/
    - assets/images/illustrations/
    - assets/images/splash_static/
    - assets/icons/
    - assets/icons/nav/
    - assets/icons/tokens/
    - assets/icons/actions/
    - assets/lottie/
    - assets/videos/
