Preheat your oven to 350°F (175°C). Line the bottom of your cake pan with parchment paper and lightly grease the sides. I always do this step first so the batter can go straight into the oven once mixed.
In a medium bowl, whisk together the flour, baking powder, baking soda, salt, and culinary lavender. Lightly crushing the lavender between your fingers helps release its oils. This step ensures the floral flavor spreads evenly throughout the cake.
In a separate large bowl, beat the softened butter and granulated sugar until pale and fluffy. This usually takes about 3–4 minutes with an electric mixer. Proper creaming creates air pockets that make the cake soft and tender.
Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract until fully combined. Make sure everything is smooth before moving to the next step.
Add the dry ingredients to the butter mixture in batches, alternating with the buttermilk. Begin and end with the dry ingredients to maintain a stable batter. Mix just until combined to avoid overworking the flour.
Toss the blueberries with one tablespoon of flour before gently folding them into the batter. This prevents them from sinking to the bottom. Be gentle to avoid crushing the berries and turning the batter purple.
Pour the batter into the prepared pan and smooth the top. Bake for 40–45 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool in the pan for 10 minutes before transferring to a wire rack.
Once the cake is completely cool, whisk together powdered sugar and milk or lemon juice until smooth. Drizzle over the top and let it set before slicing. The glaze adds sweetness and visual appeal.