aloisdeniel / aloisdeniel/style-dictionary-figma-flutter

textAlign not working for the generated text

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
47
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

First, I'd like to thank you for supporting flutter, Currently we have an issue we wanna change textAlign but we cannot

`
FigmaText.bodyLargeMedium('test',textAlign: TextAlign.center );
`

Now we have to do that:

`Text(
'text,
style: TextStyle(
fontSize: FigmaTextStyleData.regular()
.bodyLargeRegular
.fontSize,
fontWeight: FigmaTextStyleData.regular()
.bodyLargeRegular
.fontWeight,
color: FigmaColorData.regular().primaryDark),
textAlign: TextAlign.center,
),`

if we can pass the textAlign too to the generated text class that would be great.

Thanks,

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。