toolbarLocation property Null safety

Offset? toolbarLocation

The location of where the toolbar should be drawn in relative to the location of toolbarLayerLink.

If this is null, the toolbar is drawn based on selectionEndpoints and the rect of render object of context.

This is useful for displaying toolbars at the mouse right-click locations in desktop devices.


Offset? get toolbarLocation => _toolbarLocation;
void toolbarLocation=(Offset? value)


set toolbarLocation(Offset? value) {
  if (_toolbarLocation == value) {
  _toolbarLocation = value;