I really feel for you, and can't give you answers but here is my experience.
Spent 10 years with an emotionally distant man who I thought was (and could well be) the love of my life. We connected on so many levels, but he was just not ready for commitment. Much of that is upbringing (distant parents, lack of role model) and some of that is just himself (self centred, goal focused on career etc.). He was always clear that he wanted no kids, but while I was young and enjoyed his company so much I could overlook it.
I managed to talk myself into accepting less than i wanted out of a relationship, so delayed moving in together, accepted that we were both not the marrying type, waited until buying a house together...
I made a pact with myself that if he still doesn't want kids when i turned 30, I'd leave him and find someone else or even have kids by myself. It was not something I could compromise on.
When the time came, I actually found it so hard to leave, and dithered on and off for a year. Eventually, just as I was about to give the ultimatum, he agreed that we'd try for a baby. In hindsight it was because he was also deeply afraid of losing me, and wanted to make me happy.
Because I felt he compromised so much to do this for me, I agreed to shoulder the majority of the burden of childcare. We conceived when I was 32, and we were both over the moon.
Fast forward 2 years. We have broken up. I was so resentful that he hardly did any emotional or physical stuff to do with the baby, and that he didn't particularly want to bond with the baby. He was resentful that I had no time for him, was not the same as I was pre baby, and he decided that he'd have an emotional affair with OW to get what he couldn't from me. this happened when our baby was 1 year old. He left us and it has been hard, hard, hard, though getting better every day.
So overall, what can I say. On one hand I am so grateful that I have my baby, who is part me and part the man I loved. On the other hand my relationship, which I thought was so important for so long, has disintegrated in a horrible, heart wrenching, and soul breaking fashion, just when I needed a partner the most. I also worry about the effect a broken family and a distant dad will have on my child, but I hope I and my immediate family will give him the security and love my ex couldn't.
Neither choice is easy, and you will have to accept that you may not get the best outcome. Good luck.