Gambling in front of our kids is not good because, as our kids are watching how we bet games, they are learning from there and these kids are learning things as fast as they can. So, if we are playing games in front of our children, we are also leading them astay, and we are also teaching our children how to bet them and that attitude will lead the children astray in future.
As parents, definitely, it's not good in front of your children to put your bet or even play slot games specially the sounds as it might attract them, although you can lower the volume, but it's not the correct way. Perhaps if you are really into gambling then just go to your place or a room that they will not see what you are going in front of your laptop or phones.
Instead of my child learning about gambling from me, it is better for the child to learn it outside so I can correct him when I notice it, but if the child learn gambling from me I will have no mouth to correct him because I thought, him by myself, so it is better to keep gambling secret in the present of our children.
You mean influence by friends and then peer pressure? It's not really good as well, but in any case that they are exposed, hopefully they will not fall for the trap of being addicted at a young age.