alignment property

AlignmentGeometry? alignment
final

Combined with offset to determine the location of the label relative to the child.

The alignment positions the label in the same way a child of an Align widget is positioned, except that, the alignment is resolved as if the label was a largeSize square and offset is added to the result.

This value is only used if label is non-null.

Defaults to the BadgeTheme's alignment, or AlignmentDirectional.topEnd if the theme's value is null.

Implementation

final AlignmentGeometry? alignment;