You can still eat leeks after they flower, but it is not recommended as the leeks will have a bitter flavor.