setScrollableRect method

  1. @override
Future<void> setScrollableRect(
  1. int id,
  2. Rect rect
)
override

Implementation

@override
Future<void> setScrollableRect(int id, Rect rect) {
  return methodChannel.invokeMethod('setScrollableRect', {
    'id': id,
    'rect': {
      'x': rect.left,
      'y': rect.top,
      'width': rect.width,
      'height': rect.height,
    },
  });
}