Center is a function to help you organize the layout of your view. It centers the component passed as parameter by setting
See how the structure is represented:
|self||StyleComponent||✓||Component to receive the style.|
Center( self = Text(text = "simple text") )
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.