Heat the olive oil in a large pot over medium heat. Cook the onion 5 minutes until softened.
Add the garlic, rosemary and sun-dried tomatoes and cook 1 minute more, until fragrant.
Add the beans and broth. Bring to a gentle simmer and cook 15 minutes. Mash about a third of the beans against the side of the pot with a spoon to thicken the broth.
Stir in the cream and Parmesan until the cheese has melted.
Stir in the spinach and cook 2 to 3 minutes until wilted. Season with salt, pepper and red pepper flakes. Serve with extra Parmesan and a drizzle of olive oil.