aloisdeniel / aloisdeniel/style-dictionary-figma-flutter

textAlign not working for the generated text

Ouverte
#1 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
47
Forks
8
Métriques de merge des PR
Aucune PR mergée en 30 j

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,

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.