Preheat oven to 350 degrees. Line a large baking sheet with parchment paper.
In a bowl, cream the butter and sugars until soft and fluffy, about 2-3 minutes. Whip in the eggs, one at a time, then the vanilla extract. Add the flour, lavender, baking soda, and salt. Mix until just combined. Fold in the chocolate chunks/chips with a rubber spatula until incorporated
Scoop heaping tablespoon-sized portions of dough and roll into a ball. Set on the prepared baking sheet, leaving about 2 inches of space between each cookie. Press a few more chocolate chunks/chips into the cookie balls if desired.
Bake for 8 minutes. Remove the pan from the oven and tap firmly on the counter 2-3 times to flatten. Return to the oven for 3-4 minutes longer until the edges are set. Remove and let the cookies cool on the baking sheet. Sprinkle with flaky salt, as desired.