alignCenter method

Text alignCenter()

Aligns text to the center.

Implementation

Text alignCenter() {
  return copyWith(textAlign: TextAlign.center);
}