Controller constructor Null safety

Controller()