Children who come through early childhood with a loving parent at home tend to adopt a secure attachment style.
Contrast to this, there have been studies suggesting that children who come through childhood with
one dysfunctional/toxic parent tend to adopt a more dismissive avoidant attachment style.
Even when the other parent is stable, loving, caring.
It depends on who the dominant parent is.
In your case BE, your stable loving dad was the dominant force (or it sounds that way from what you've described about him) so you adopted a secure attachment style.
It makes sense!
In other cases, the dysfunctional parent may be the dominant force, and as such a child coming from that may adopt a fearful attachment style.
My parental sitch was very similar to yours - mom was dysfunctional and actually abusive, dad was stable, loving, caring!
Problem was my dad was always working! At least during my formative years and my mom became the dominant force in my life.
And as such I developed a fearful avoidant attachment style.
It was only after seeking and receiving the proper treatment that I was able to embrace a more secure attachment style which I now have with my current boyfriend..
For the most part, it's still a work in progress but I've come a long way.