Is the flat design out of fashion? [on hold]

We are planning on building a software and we had this discussion regarding the design. Someone mentioned that the flat design pattern is out of fashion, but when I asked them what replaced it, there was no clear answer.

What are your ideas about the flat design pattern? And is it really out of fashion? Specifically, are there usability or other UX issues with the flat design pattern?