How to implement RSA in flutter(decryption) and Node(encryption)?

I need to implement RSA. I am generating public and private keys from nodejs i am sending private key to client. I am able to encrypt data using public key from nodejs but i am unable to decrypt from flutter i had tried various libraries in flutter(simple_rsa, encrypt etc…) but those are not working i am getting padding errors, invalid private key errors. Can any one suggest me how to implement this ?