alignment property

AlignmentGeometry alignment
final

How to align the child content within the button bounds.

Defaults to Alignment.center, which is correct for icon buttons. Use Alignment.topLeft or similar for custom card-style layouts.

Implementation

final AlignmentGeometry alignment;