Just a simple checkbox under each env property in properties editor, which when checked, would require these fields not be left empty before deploying.
For now my workaround is checking for these fields to be filled in and throwing an node.error when they're empty, but this could be avoided if the flows were never allowed to be deployed with the subflow config in an error state.
EDIT: updated image for clarification- sorry I didn't spend enough time to align the label correctly.