@override void useCloseButton({ required bool canUse, }) async { return await methodChannel .invokeMethod<void>('player_useCloseButton', <String, dynamic>{ 'canUse': canUse, }); }