Bring a pot of salted water to a boil. Cook gnocchi according to package instructions.
Reserve ½ cup pasta water, then drain.
In a large skillet over medium heat, melt the butter.
Add garlic and red pepper flakes(if using). Cook until fragrant, about 30 seconds.
Stir in the sun-dried tomatoes and let them bloom in the butter for a minute.
Pour in the chicken broth and heavy cream. Simmer for 3–4 minutes until slightly thickened.
Whisk in parmesan and Italian seasoning. Taste and adjust salt & pepper.
Add the gnocchi straight into the sauce. Toss to coat.
If the sauce needs loosening, add a splash of reserved pasta water.
Fold in spinach and let it wilt.
Top with basil, extra parm, and more chili flakes if you like heat.
Serve immediately while silky and dreamy.