That role was played by Robert Pattinson.
It's likely you're thinking of Tom Sturridge because of his role as the character Lucifer Morningstar in the Netflix series "The Sandman," which has a similar aesthetic to the Twilight movies with its focus on dark fantasy and romance.