alignment property

AlignmentGeometry alignment
final

How to align and crop the image within its bounds.

Defaults to Alignment.center. Use Alignment.topCenter, Alignment.bottomCenter, Alignment.centerLeft, Alignment.centerRight, etc. for custom cropping.

Implementation

final AlignmentGeometry alignment;