Property rights

I have a code that I wrote using mobile flutter
I want to sell it on your platform
My question is, is there a way to prevent the code from being stolen?
Those who buy it can only use it once

Yes, you can do it by purchase code verification systems using envato api:

you can check this thread for getting help about purchase verification: