updateBounds method
Implementation
@override
Future<void> updateBounds(
int webviewId, Offset offset, Size size, double devicePixelRatio) async {
await methodChannel.invokeMethod<bool>('updateBounds', {
"webviewId": webviewId,
"left": (offset.dx * devicePixelRatio).toInt(),
"top": (offset.dy * devicePixelRatio).toInt(),
"right": ((offset.dx + size.width) * devicePixelRatio).toInt(),
"bottom": ((offset.dy + size.height) * devicePixelRatio).toInt(),
});
}