aloisdeniel / aloisdeniel/style-dictionary-figma-flutter

textAlign not working for the generated text

Abierto
#1 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
47
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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,

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.