aloisdeniel / aloisdeniel/style-dictionary-figma-flutter

textAlign not working for the generated text

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
47
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.