setOffset abstract method Null safety

Future<void> setOffset(
  1. Offset off
)

Sets the offset of the platform view.

off is the view's new offset in logical pixel.

On Android, this allows the Android native view to draw the a11y highlights in the same location on the screen as the platform view widget in the Flutter framework.

Implementation

Future<void> setOffset(Offset off);