Property editing of `CrossAxisAlignment` doesn't work
未关闭
inspector-2.0-polish
P2
screen: inspector
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 18
描述
Modifying `CrossAxisAlignment` for text on Flutter sample app throws error:
```
Another exception was thrown: Vertical RenderFlex with CrossAxisAlignment.end has a null textDirection, so the alignment cannot be resolved.
Another exception was thrown: Vertical RenderFlex with CrossAxisAlignment.start has a null textDirection, so the alignment cannot be
resolved.
```

贡献指南
调研方向
首先在 Flutter sample app 中复现该问题,并检查 CrossAxisAlignment 的属性编辑路径。完成标准是更改对齐方式不再抛出 null textDirection 错误,并且示例文本会以所选对齐方式渲染。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100