alignment property

AlignmentGeometry? alignment
final

Alignment of the badge relative to the child. Defaults to top-right corner: AlignmentDirectional(12, -4). Common values:

  • Top-right: AlignmentDirectional(12, -4) (default)
  • Top-left: AlignmentDirectional(-12, -4)
  • Bottom-right: AlignmentDirectional(12, 20)

Implementation

final AlignmentGeometry? alignment;