I don't think that children will enjoy how big their bedroom was in 20 or 30 years, but rather remember shared days and moments with their parents regardless of the size of any room.
I shared a room with my sister until I was 9 years old. After that, I had just under 20m². Sharing the room did not emotionally damage me, and since I didn't know it any other way, I was definitely not unhappy. My Lego and Siku toys lived in the dining room back then, which was actually more of a children's playroom for me and my sisters. But in my own room, I would have sometimes liked 30m² as well. Until I moved out for university, I only had a 1m bed plus a sofa bed. Today, that’s apparently a no-go. Ten-year-olds have a 1.4m bed to accommodate their 735 stuffed animals.
If you go by what harms a child, then you actually hardly need anything. Children can grow up unharmed in 8m² rooms or shared rooms. That actually has nothing to do with being happy. Similarly, a child doesn't need a console, a smartphone, brand-name clothes, or 1000 toys. Still, today, very many children have those things without anyone thinking about it.
Personally, I find (living) spaces under 12m² quite restricting. I don't want to offend anyone with that, and it is purely a subjective opinion. We had both a 12m² bedroom and an 11m² office. In both, we managed well in terms of furnishing, but the rooms felt somewhat oppressive to me to really feel comfortable there. Therefore, it was important to me that all our living spaces have as close to 15m² as possible. But of course, that is also a matter of price. Personally, I would rather spend 3-4k€ more per child to give them 2m² more living space; in return, there won't be the newest iPhone every two years during their teen years.
I also don't see a huge difference between boys and girls. In my opinion, girls often don't need as much space under 10 years old, but when their friends come over for a "coffee gathering," a seating area, makeup corner, etc., become important. Moreover, my experience is that girls like to have a separate sleeping area, which can be pretty well solved in 15-20m² with a room divider or directly as an L-layout. Boys often have (at least that was the case for me) a lot of Lego, Playmobil, etc., which simply requires a lot of space. In my teen years, I also always had many friends at home. First for playing, then came the console time where we held real Mario Kart and FIFA tournaments, and later movie nights (with more or less alcohol). I never felt that I didn't need my room or that it was too big.
My sisters each had rooms that were also around 15m². One was later turned into my parents' office, the other is the bedroom of my nephew, who is at my parents' house one or two days a week, and my old room is now a guest room including an infrared cabin. My mother still "has to" iron in the storage room. So it's not like you later inevitably don't know what to do with all the rooms. More often, the case is that you build an extension (additional children's room, conservatory, hobby room, etc.).