BoxAlignment constructor

const BoxAlignment(
  1. double value
)

Creates an absolute alignment with the specified value.

Values typically range from -1.0 (start) to 1.0 (end), with 0.0 being center. This alignment is absolute and doesn't consider text direction.

Implementation

const BoxAlignment(this.value);