Flux-assisted self-assembly of monodisperse colloids