To unlock Nightwing in LEGO Batman, you'll need to head to the villain side.
Go to Arkham, find the computer that acts as a store, and buy him from the characters section. Once you've got enough studs, Nightwing is yours to play as.