I know it's been a while, here's a quick answer :
If you want to use raw flowbite
library, prefere using it within afterNextRender
.
I you can and are not afraid of witching libraries, I can say you that flowbite-angular
is released now and fully compatible with with angular 18+ version. :)