@override Future<bool?> setTargetRect(double w, double h) async { final success = await methodChannel.invokeMethod<bool>('setTargetRect', {'w': w, 'h': h}); return success; }