I have some bad coworkers that I'm going to text my boss about.
Is there something in particular that you're going to tell your boss?
They are very flirty, irresponsible and unreliable.
Telling your boss the state of affairs at work is good. Your boss will trust you with things and value your opinion.
That might be true.
Your coworkers actions are inappropriate and wrong and telling your boss is a valid decision and it could help remedy the issue. You deserve to work in an environment where you feel comfortable around others and these coworkers currently are not an example of that.