removeScrollableRect method
Removes the scrollable area rectangle for a given view ID.
This method should be called when a scrollable widget is disposed or no longer needs keyboard interaction handling.
The id identifies which scrollable view to remove.
Implementation
@override
Future<void> removeScrollableRect(int id) {
try {
return methodChannel.invokeMethod('removeScrollableRect', {
'id': id,
});
} catch (e) {
throw PlatformException(
code: 'REMOVE_SCROLLABLE_RECT_FAILED',
message: 'Failed to remove scrollable rect for id $id',
details: e.toString(),
);
}
}