I'm sorry you don't have your Mum to go to for a hug 💐
I'm so sorry he was so bloody vile to you and such a twat fawning all over the friend at dinner. He really is a twat.
The bits you've have said and your tone indicate you do a lot to accommodate his ego already. I'm not sure you're doing yourself any favours.
It sounds like you think you want to try to work things out? From this distance I'm all for telling him to go fuck himself that it's over, but actually in your shoes I'd probably try to 'work things out'. For a while at least.
It seems like he feels like you put on a dress & heels for work, but dress 'down' in jeans to go out with him & he feels this means you don't 'care' or 'make an effort' 'for him'. [idiot]. Is there anyone he feels particularly threatened by in your work circle?
It might be a good time to rebalance your hours so he can work more, you can work less & you can do 50/50 childcare. Two reasons, one so he can g fund her s self esteem & 2 so that if you do end up divorcing he can't claim to be the 'main' parent.
You need to start standing up for yourself instead of apologising & 'explaining'. Don't 'explain' how much effort you put into looking nice for him last night, instead tell him you're not a bloody barbie doll dressing for his pleasure & that you will not be spoken to like that. Really call him out on it.
Tell him that you will not stand for him fawning over another woman under your nose ever again & that if he starts you will pull him up on it, loudly, in public. Tell him if he wants to massage other women's egos & his own he can move out of the family home & do as he pleases.
It's ok to be an 'average mum'. Average, normal, ordinary...being 'super mum' is highly over rated and usually embarrasses the kids anyway! I'm sure your kids think you're the Best Mum Ever 💐
More (((hugs))) they're super squishy Mum hugs.