A child will induce some extreme feelings, during the first years of love and dedication, latter on of exasperation and concern as well. I believe that this way feelings become apparent and if we can pay them proper attention we cab develop our wisdom.
Attachment, compassion, kindness, friendship and concern are all very different. Compassion, kindness and friendship will make experience sukha, attachment, concern and exasperation will make experience dukkha.
There will be many moment in which the Dhamma may become a safe refuge, away from the dukkha of seeing a child in pain, with high fevers, or sad for some reason.