open method
void
open()
Implementation
void open() {
if (entry != null) return;
final renderBox = context.findRenderObject() as RenderBox;
final offset = renderBox.localToGlobal(Offset.zero);
entry = OverlayEntry(builder: (_) {
return Positioned(
left: offset.dx,
top: offset.dy + renderBox.size.height + 16,
width: renderBox.size.width,
child: CompositedTransformFollower(
link: layerLink,
showWhenUnlinked: false,
offset: Offset(0, renderBox.size.height),
child: widget.suggestions,
),
);
});
Overlay.of(context).insert(entry!);
}