Cook whole-wheat spaghetti in salted boiling water until al dente. Reserve ½ cup pasta water, then drain.
Melt butter in a large skillet over medium-low heat. Add garlic and cook for 30 seconds until fragrant.
Stir in chopped sun-dried tomatoes, Italian seasoning, and red pepper flakes. Cook for 1 minute.
Add fresh spinach and stir until wilted, about 2 minutes.
Pour in heavy cream and whole milk. Simmer gently for 2–3 minutes, then reduce heat to low.
Remove from heat and gradually stir in Parmesan until the sauce becomes smooth and creamy. Season with black pepper and salt.
Add spaghetti and toss gently until every strand is coated, with spinach and sun-dried tomatoes evenly distributed. Add reserved pasta water a little at a time if needed.
Serve generous portions in shallow white bowls while the Parmesan sauce is warm and creamy.