showWidgetsWithLinkData method
Allows you to add any widget to a link.
You have LinkData
here so you can customize the widgets to individual link.
Recommendation: use Positioned as the root widget.
Implementation
@override
List<Widget> showWidgetsWithLinkData(
BuildContext context, LinkData linkData) {
return [
if (selectedLinkId == linkData.id) showLinkOptions(context, linkData),
];
}