Question for the already mama's

Hello ladies! FTM here!
I was wondering if your weight gain had any impact on how big or small your baby ended up being born?
Or if how much your belly was measuring from the outside made a difference in your baby's weight as well.
I am 37 weeks right now and my doctor only measures the outside of my belly and says I'm measuring perfectly on time. At 32 weeks, they said my baby was 3 pounds 10 ounces and that was the last time I had a guestimation on her weight.
I've been eating healthy, buttttt, sweets are also my downfall. I also have gained 24 pounds so far. 
So I'm worried my baby will be a little on the heavier side only because I'm a tinier person and I'm scared to death of having a c-section just in case she's too big for a vaginal birth.
So just curious!
Can't wait to meet my chunky butt either way!🙃