As stated here, you can use cantrips like booming blade and green-flame blade to trigger Sneak Attack under given conditions, naming one is you got advantage on your attack.
Now, one of the factors that can give advantage is hiding - being unseen and unheard - and then attacking.
Can I use those cantrips while hiding for sneak attacks, given that they have verbal components?
I would argue yes, because the attack is part of the spell and is performed sort of simultaneously with the verbal components, so it doesn't break the hiding advantage.
I'm not asking, if I can hide in combat to the get sneak attack, just if I can hide and use cantrips to trigger it without losing advantage from being hidden.