alignment property

AlignmentGeometry? alignment
final

Alignment of the child content within the button.

Controls how the child is positioned within the button's bounds. Defaults to center alignment for most button types. When leading or trailing are provided, defaults to start alignment.

Implementation

final AlignmentGeometry? alignment;