Replies: 1 comment
-
What do you want to center precisely in the Column? Row(
alignment=MainAxisAlignment.CENTER,
controls=[
Text(
'Inicio de Sesión',
color='white',
weight='bold',
size=28,
)
]
) I can't see the Image at the top, and the Textfields occupy the available horizontal space, so centering won't have a visual effect. By the way, in your code you used page.vertical_alignment = 'center'
page.horizontal_alignment = 'center'
# OR
page.vertical_alignment = MainAxisAlignment.CENTER
page.horizontal_alignment = CrossAxisAlignment.CENTER |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Center the elements of a column which is inside a container. I tried MainAxisAlingment but it didn't work.
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions