Were you in a space where dogs are regularly off the lead? If so, I think YAB a little U. How old is your daughter? You mention 'toddler' in your post - if this is the case, then I think it is up to you to make sure that she is safe when you are out and about where there are dogs loose.
My daughter is 13 months old, and regularly gets clattered by my two dogs, and they are always gentle with her - I think for a toddler to be 'nearly' knocked down, it would be a very gentle young dog indeed.
It always worries me, being in a park area with my dogs when children are around. If there are other dogs playing, then I love being able to let my dogs off the lead to play. They get to run off their excess energy, and socialise with other dogs.
If children are present, however, it means that I have to keep them on the lead because, inevitably, either a child will panic and run away (Why, WHY don't people teach their children never to run from a dog?) or come to investigate and panic their parents, who make a fuss.
The attitude on MN always seems to be that it is children who have the right to park space, and anyone wishing to exercise a dog should be confined to an isolated island. I always try to introduce children who show an interest to the dogs, and try and educate them in the right way to greet big dogs. I suppose I am always aware that being black and tan means that my dogs HAVE to be immaculately behaved, and yet people still act as though I am reckless in taking them out in public, letting them play with other dogs, and having them around my daughter.
I know that some children are afraid of dogs, but, the simple fact is that there are lots of dogs out there. Maybe (and I say this tentatively, expecting to be flamed) the onus is on the parent to educate the child and teach them how to be around dogs, rather than getting angry that dogs exist, and ranting about owners bringing them out in public.