Custom field in plugin not showing

If you’re working in the v5, I recommend you to read the examples in this documentation they’re pretty helpful:

At the end of the page, you can find an example of a case similar to yours