The Flash is Barry Allen's first solo adventure on the big screen and there are many ways the DCU’s version of the character differs when comparing The Flash movie vs. the show. The DCU and the Arrowverse began two years apart, with Man of Steel in 2013 and the Arrow in 2011. What Zack Snyder was doing with his DCU movies and what The CW was doing with its DC shows were not connected. After Man of Steel, audiences had hopes Stephen Amell’s Oliver Queen and the other DC characters set up in Arrow could be brought into the DC movies. However, in the same week that The Flash’s pilot aired, Ezra Miller signed on to play Flash in the DCU. It was clear the Arrowverse and DCU would remain separated.
https://screenrant.com/flash-movie-arrowverse-version-differences-good/