1: \begin{abstract}
2: We introduce a F{\o}lner condition for dense subalgebras in finite von Neumann algebras and prove that it implies dimension flatness of the inclusion in question. It is furthermore proved that the F{\o}lner condition naturally generalizes the existing notions of amenability and that the ambient von Neumann algebra of a F{\o}lner algebra is automatically injective.
3: As an application, we show how our techniques unify previously known results concerning vanishing of $L^2$-Betti numbers for amenable groups, quantum groups and groupoids and moreover provide a large class of new examples of algebras with vanishing $L^2$-Betti numbers.
4: \end{abstract}
5: