itemControl property
This gives you the option to use flutter text selection controls on your custom widget
For instance, instead of having the text Copy
on the tool bar,...
...you can have the Icon(Icons.copy) as the widget...
...and use ToolBarItemControl.copy control to copy the highlighted text when the icon is tapped
Implementation
final ToolBarItemControl? itemControl;