Ezra Miller was 24 in Justice League when they played the character 'The Flash / Barry Allen'.
That was over 7 years ago in 2017.
Today they is 31, and has starred in 21 movies in total, 6 of those since Justice League was released.
In Justice League, I think Ezra Miller looks: