labelOffset property

double labelOffset
final

The label's offset from the slider, along its cross axis, in logical pixels. The top-left corner is always the origin, regardless of the layout.

For example, if the layout is FLayout.ltr and the cross axis offset is 3, the label will be 3 pixels below the slider's edge.

|--------------------------|
|----------[tick]----------|
|__________________________|
             (1)
             (2)
             (3)
           [label]

Given the same layout, if the cross axis offset is -3, the label will be 3 pixels above the slider's edge.

           [label]
             (3)
             (2)
             (1)
|--------------------------|
|----------[tick]----------|
|__________________________|

Implementation

final double labelOffset;