name: jinzhi_flutter_app
description: "金值 - 贵金属资产管家"
publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: ^3.9.2

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  # 状态管理
  hooks_riverpod: ^2.6.1
  riverpod_annotation: ^2.6.1
  flutter_hooks: ^0.21.3+1
  # 路由
  go_router: ^16.2.4
  # 网络 + 序列化
  dio: ^5.9.0
  retrofit: ">=4.6.0 <4.9.2"
  protobuf: ^4.2.0
  fixnum: ^1.1.1
  # 存储
  flutter_secure_storage: ^10.2.0
  shared_preferences: ^2.5.3
  # 设备信息
  device_info_plus: ^11.3.3
  package_info_plus: ^8.3.0
  uuid: ^4.4.0
  # UI / 视觉
  shadcn_ui: ^0.53.6
  google_fonts: ^6.2.1
  flutter_remix: ^0.0.3
  pull_to_refresh: ^2.0.0
  shimmer: ^3.0.0
  flutter_markdown_plus: ^1.0.7
  video_player: ^2.9.2 # 启动页视频背景
  # 工具
  url_launcher: ^6.3.1
  gal: ^2.3.2
  image_picker: ^1.1.2
  share_plus: ^12.0.1
  wechat_assets_picker: ^10.1.2
  flutter_cache_manager: ^3.4.1
  photo_view: ^0.15.0
  path_provider: ^2.1.5
  permission_handler: ^11.3.1
  fancy_dio_inspector: ^2.0.1
  cupertino_icons: ^1.0.8
  android_id:
    path: packages/android_id
  android_oaid:
    path: packages/android_oaid
  flutter_paid:
    path: packages/flutter_paid
  platform_metadata:
    git:
      # gitea 内网镜像 — server (yanzhi-api-01) 直连 github 走不通,改走内网。
      url: https://gitea.neuronlabs.art/zhouyu/platform_metadata.git
      ref: main

  flutter_dotenv: ^6.0.1
  fluttertoast: ^9.0.0
  shorebird_code_push: ^2.0.3
  flutter_html: ^3.0.0



dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^2.5.4
  retrofit_generator: ^9.7.0
  riverpod_generator: ^2.6.5
  custom_lint: ^0.7.0
  icons_launcher: ^3.0.1
  flutter_native_splash: ^2.4.6
  riverpod_lint: ^2.6.1
  flutter_lints: ^6.0.0

flutter:
  uses-material-design: true

  assets:
    - shorebird.yaml
    - assets/env/.env
    - assets/launch/
