Pitbulls are great and can be great with children.
HOWEVER, I'd suggest you NOT get a puppy with a 2.5 year old, especially a large high energy breed. You could probably pull it off just fine, but I would want to save myself a large amount of my personal energy handling a toddler and a high energy and athletic dog at the same time.
A potential injury from pitbulls exists from jumping and the size difference between a very young child and a muscular pit. Every pit pup I've known were all jumpers at that "mostly full grown but still VERY much a puppy" stage and weren't 100% obedient with regards to jumping on people when excited and happy.