resolve method
Convert this instance into an Alignment, which uses literal
coordinates (the x coordinate being explicitly a distance from the
left).
See also:
- Alignment, for which this is a no-op (returns itself).
 - AlignmentDirectional, which flips the horizontal direction
based on the 
directionargument. 
Implementation
Alignment resolve(TextDirection direction);