TextAlignVertical constructor

const TextAlignVertical({
  1. required double y,
})

Creates a TextAlignVertical from any y value between -1.0 and 1.0.

Implementation

const TextAlignVertical({
  required this.y,
}) : assert(y >= -1.0 && y <= 1.0);