根因:多处 [0] 访问空列表/空字符串导致 RangeError 崩溃 - api_client.dart: 后端错误 message 为空数组时 ?[0] 崩溃,改为安全检查 - c2c_order_detail_page.dart: nickname 和 phone 均为 null 时 name[0] 崩溃, 添加 isNotEmpty 检查和 '未知用户' 回退 - c2c_market_page.dart: makerNickname 为空字符串时 [0] 崩溃,添加 isNotEmpty 检查 这是 C2C 买方"待付款灰色页面"的根本原因:页面在渲染交易双方信息时 因空用户名 RangeError 崩溃,导致整个页面无法显示 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| DEVELOPMENT_GUIDE.md | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.yaml | ||
README.md
mining_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.