This was the case with 2008’s The Dark Knight, which was the first live action Batman movie to show Bruce Wayne rocking the white eyes while fighting crime.
Batman v Superman: Dawn of Justice also gave the Caped Crusader this look when he was wearing his Dark Knight Returns-inspired armor.
Presumably the Nightwing mask will be outfitted with lenses that either allow Dick Grayson to read information Iron Man-style or see his environment differently, such as through night vision.
If Dick is anything like his comic book counterpart, then even though he isn’t working directly with Batman anymore (or at least on a regular basis), he’s still taking costume and crimefighting cues from his mentor, so keeping the white eyes makes sense.