The sun requirements for edible flowers will vary depending on the specific type of flower. Some edible flowers, such as pansies and violas, prefer cool-season weather and partial shade. Others, such as nasturtiums and sunflowers, prefer full sun.