@override Future<void> ShowEventList() async { try { await methodChannel.invokeMethod('ShowEventList'); } on PlatformException catch (e) { print("Failed to call ShowEventList: ${e.message}"); } }