Usually when using amsthm, we get something like Theorem 1.1, Corollary 1.2, Definition 1.3, etc. But how can I put the number before the name "Theorem" and "Corollary", that is to say, to obtain things like 1.1 Theorem, 1.2 Corollary, 1.3 Definition or (1.1) Theorem, (1.2) Corollary, (1.3) Definition?
My current codes in this part are
\theoremstyle{theorem}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
How can I adjust this? Thank you all for your answers and help!
P.S. I'm so sorry if this question has been asked in TeX.SE, yet I tried a lot searching here and gained nothing.

ntheorempackage, you just have to ask for thechangestyle. – Bernard Mar 06 '22 at 09:24