It is unlikely that the fuel leak from a flap can would be a problem in the air as the airflow over the wing would keep the fuel away from the hot engine.
The fire started on taxi in because the fuel was running inbd along the underside of the wing and falling onto a hot engine.