If the driver was texting, does the pedestrian have a case?

Yes. This is a form of negligence that may enable the injured party to recover damages from the driver who caused the accident.