setOffset method
- Offset off
override
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
@override
Future<void> setOffset(Offset off) {
return _internals.setOffset(off, viewId: viewId, viewState: _state);
}