Not all flaps increase wing area - some just change the airfoil and alter the camber, and some allow increased lift coefficients by using slots between the flap elements to keep the airflow attached at angles where it would have otherwise detached.
PDR