DirectionalBoxAlignment constructor

const DirectionalBoxAlignment(
  1. double value
)

Creates a directional alignment with the specified value.

Values typically range from -1.0 (start) to 1.0 (end), with 0.0 being center. Unlike BoxAlignment, this considers the text direction of the parent.

Implementation

const DirectionalBoxAlignment(this.value);