Mandating kids to "pledge their allegiance" to the country daily at school is nothing but mindless propaganda.
They are not
mandated. They need not recite the pledge.
Legally that might be the case, but we all know that it doesn't always work that way. Many schools will find different ways to "reinterpret" the law (such as saying that students aren't required if their parents don't agree with it so they can opt out with a letter from their parents stating why) or simply flat out ignoring the law and figuring no one will push it far enough with a lawsuit.
Also how many students are even aware of this? Teachers aren't required to let students know that it's not required.