scale property

double scale

Returns the current scale 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

double get scale => state.scale;
void scale=(double scale)

Update the scale of the floating widget.

Implementation

set scale(double scale) {
  _scale.onUpdate(scale, state);
}