alignment property Null safety
final
Defines how the hint or the selected item is positioned within the button.
This property must not be null. It defaults to AlignmentDirectional.centerStart.
See also:
- Alignment, a class with convenient constants typically used to specify an AlignmentGeometry.
- AlignmentDirectional, like Alignment for specifying alignments relative to text direction.
Implementation
final AlignmentGeometry alignment;