offset property

Offset offset

Returns the current offset of the floating widget.

If you are using the setter and looking for the same result, use the stream getter which gives a FloatingOverlayData and will update when the controller ends processing.

Implementation

Offset get offset => state.position;
void offset=(Offset global)

Update the offset of the floating widget.

Implementation

set offset(Offset global) {
  _offset.setGlobal(global, state);
}