Wild onion, field onions, wild chives, wild garlic, wild leeks, have edible flowers and edible bulbs.  It is a good idea to cook the wild onion bulbs, as the inulin content is difficult for a few people to digest.  Cooking will break down this polysaccharide to a more manageable chain.
After flowers bloom a little bulblet forms on flower head, very edible: pickled or stir fry with vegetables and pork.

More as an edible wild plant