It really depends. Generally if your school doesn't offer a particular class, dual enrollment is the best option.
From my own experience I find that the education quality is much higher in dual enrollment. However that also depends on the college and the method it's implemented. It's best if it's taught directly by the professor instead of a regular in high school teacher who only teaches along the professor's guidelines. If it's dual enrollment with a 4-year university it might actually look better than AP.
I'd say, even if APs are usually easier, go for whichever's the best experience overall.