alignX property

  1. @Input('alignPositionX')
set alignX (String align)

Alignment of the popup in the horizontal direction.

Possible values are:

  • start: Align popup to the start of a container. This is equivalent to 'flex-start'. (Default)
  • center: Align popup to the center of a container. This is equivalent to 'center'.
  • end: Align popup to the end of a container. This is equivalent to 'flex-end'.
  • before: Align popup before a container. This is not equivalent to any CSS positioning model.
  • after: Align popup after a container. This is not equivalent to any CSS positioning model.

Implementation

@Input('alignPositionX')
set alignX(String align) {
  _alignOriginX = Alignment.parse(align);
  _updateSource();
}