It’s not a requirement, but learning piano before violin can provide a solid foundation in music theory and rhythm, which can be advantageous when transitioning to violin. If your child shows a strong interest in the violin, starting directly with it is perfectly fine.