automaticValuePosition method
Implementation
@override
ValuePosition automaticValuePosition(
PdfPoint point,
PdfPoint size,
PdfPoint? previous,
PdfPoint? next,
) {
final pos = super.automaticValuePosition(point, size, previous, next);
if (pos == ValuePosition.right || pos == ValuePosition.left) {
return ValuePosition.top;
}
return pos;
}