Does taking antihistamine (levocetrizen) as medication for symptomatic dermatographism has any effect on breastfed child?

Yes. Ref: webmd:Small occasional doses of levocetirizine are probably acceptable during breastfeeding. Larger doses or more prolonged use may cause drowsiness and other effects in the infant or decrease the milk supply, hope it helps you.