position property

Offset get position

The current position of the floating widget.

Implementation

Offset get position => _position;
set position (Offset newPosition)

Sets the new position of the floating widget and notifies listeners.

Implementation

set position(Offset newPosition) {
  _position = newPosition;
  notifyListeners();
}