INNER CODE UNIT · Dart
offsetX
reqable/re-editor · lib/src/_code_autocomplete.dart:238
offsetX = screenSize.width - (position.dx + child.preferredSize.width);
} else {
offsetX = 0;
}
final double offsetY;
if (position.dy + child.preferredSize.height > screenSize.height) {
offsetY = -child.preferredSize.height - lineHeight;
} else {
offsetY = 0;
}
return CompositedTransformFollower(
link: layerLink,
showWhenUnlinked: false,
offset: Offset(offsetX, offsetY),
child: Align(
alignment: Alignment.topLeft,
child: Material(
color: Colors.transparent,