Unless the transformer is suitable for PCB mounting then it will not have a PCB Footprint and so it will not appear in the PCB layout.
If you have a suitable transformer then you can search for a suitable PCB footprint to assign to it.
If there is no suitable footprint in the library then you can create your own.
Please see:
https://easyeda.com/forum/topic/How_to_assign_or_change_the_PCB_footprint_assigned_to_a_schematic_symb_-1SoiAuM4Y
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice