Even though CVs don't (at least in my country) have DoB you can infer it from years in education. You might not even get a chance for an interview to say "I never want kids, I just want to work hard".
Let's pretend all jobs are like this, where flexibility pays more, if you do ever plan on having kids, could you afford and would you be willing to take a big pay cut so you can spend time with them?