A dendrimer-based highly sensitive and selective fluorescence-quenching sensor for Fe(3+) both in solution and as film.