alignment property

String alignment
final

The alignment of children within the flex row.

Controls both horizontal and vertical alignment using standard CSS flexbox values:

  • 'left'justify-content: flex-start
  • 'right'justify-content: flex-end
  • 'center'justify-content: center
  • 'space-between'justify-content: space-between
  • 'space-around'justify-content: space-around

For vertical alignment:

  • 'top'align-items: flex-start
  • 'bottom'align-items: flex-end
  • 'stretch'align-items: stretch

Defaults to 'center'.

Implementation

final String alignment;